summaryrefslogtreecommitdiffstats
path: root/pgcli/packages/sqlcompletion.py
AgeCommit message (Expand)Author
2020-09-08Add schema suggestion for functions (#1206)Jan Brun Rasmussen
2020-03-14removed py2-related stuffGeorgy Frolov
2019-10-16fixup! fixup! Take account of table aliases when completing function args (#1...Owen Stephens
2019-10-12Take account of table aliases when completing function args (#1048)Owen Stephens
2019-05-25black all the things. (#1049)Irina Truong
2019-05-06Upgrade to sqlparse 0.3.0.Amjith Ramanujam
2018-09-28Cherry-picked prompt-toolkit 2.0 changes. (#930)Irina Truong
2018-05-14Add completion for table formatsJason Ribeiro
2017-08-06Don't include args in function suggestions for backslash commandsJoakim Koljonen
2017-07-27Use raw strings where needed to avoid backslash ambiguityFrançois Pietka
2017-07-16Merge branch 'master' into koljonen/suggest_functions_with_argsJoakim Koljonen
2017-07-07Skip unwanted columns when expanding `INSERT INTO tbl(*`Joakim Koljonen
2017-06-25Suggest function signature after `CREATE FUNCTION`Joakim Koljonen
2017-06-25Include arguments in function completionsJoakim Koljonen
2017-06-24Preparatory renameJoakim Koljonen
2017-06-14Fix PEP8 empty line errorsÉtienne BERSAC
2017-06-09Schema name should be escaped in SET SCHEMA.Irina Truong
2017-04-27Complete keywords depending on previous tokenÉtienne BERSAC
2017-04-27Complete from last keywords for CREATE and DROP tooÉtienne BERSAC
2017-04-26Merge pull request #686 from owst/column_completion_for_order_by_and_distinctIrina Truong
2017-04-26Suggest columns for `ORDER BY` and `DISTINCT` (fixes #685)Owen Stephens
2017-04-25Suggest functions for \\sfLele Gaifax
2017-04-25Fix typo in commentLele Gaifax
2017-03-09Find statements inside function bodykoljonen
2017-02-25Suggest keywords after ALTERDarik Gamble
2016-12-05Support for table-qualifying column suggestionskoljonen
2016-10-26Hardcode case where last token is 'AS'Darik Gamble
2016-10-17Handle empty caseDarik Gamble
2016-10-17If prev_keyword is an unrecognized keyword, go backward until we find a recog...Darik Gamble
2016-10-17Add option to find_prev_keyword to skip final keywordDarik Gamble
2016-09-12Fix crash bug with leading parenthesisJoakim Koljonen
2016-08-23Add commentJoakim Koljonen
2016-08-23Temporary hack for sqlparse crashing after ASJoakim Koljonen
2016-07-27preprocess query to isolate/remove CTE definitionsDarik Gamble
2016-07-27Add a `local_tables` field to suggestion types to store extracted CTE definit...Darik Gamble
2016-07-27Rename the suggestion field `tables` to `table_refs` so we can add more table...Darik Gamble
2016-07-27Split table specific parseutils into separate subpackageDarik Gamble
2016-07-20Upgrade to sqlparse-0.2.0, required for Python-3.5 supportTiziano Müller
2016-07-06Better scoping for tables in insert statementskoljonen
2016-06-28Fix order of default arguments to Function NamedTuplekoljonen
2016-06-27Suggest table aliases + add tests for casingkoljonen
2016-06-23Rename SqlDocument to SqlStatementDarik Gamble
2016-06-20Move regex compilation outside function definitionDarik Gamble
2016-06-20Combine lots of variables into SqlDocument objectDarik Gamble
2016-06-20move strip_named_query subfunction into standalone methodDarik Gamble
2016-06-16Fix some join-condition issueskoljonen
2016-06-10Also exclude NATURAL JOIN from join suggestionskoljonen
2016-06-10Various changes after reviewkoljonen
2016-06-09For 'JOIN <cursor>', suggest 'foo on foo.fooid = bar.fooid'koljonen
2016-06-07`column` keyword suggests columnsDarik Gamble