Ethan Dalool
b0c33b8137
Nevermind about sqlparse, too slow for my taste at the moment.
...
This was adding about 100ms to my start times for Etiquette,
which is too high as I'm trying to make Etiquette more cli friendly.
2020-02-25 10:41:13 -08:00
Ethan Dalool
b66a89268b
Use sqlparse to strip comments before finding columns.
2020-02-19 13:06:57 -08:00
Ethan Dalool
f7e314f392
Replace some % formatters with fstrings.
2020-02-18 00:42:33 -08:00
Ethan Dalool
abe73ae24d
Add extract_table_column_map and reverse_table_column_map.
2020-02-06 20:18:42 -08:00
Ethan Dalool
593ff020dc
Add docstring to hex_byte.
2020-02-06 20:18:09 -08:00
Ethan Dalool
6cac1d5a25
Show all missing columns when raising the missing error.
2020-02-06 20:17:49 -08:00
Ethan Dalool
0cb646fda0
Appease some flake8 linting.
2020-01-31 20:53:29 -08:00
Ethan Dalool
2e5a71c765
Define listify seperately so you can call with any iterable.
...
The literal function will still be a bit more strict on the types
it accepts, but if you have something that you know is okay
to iterate you can call listify directly.
2019-01-01 18:01:37 -08:00
Ethan Dalool
fb2de5746c
Add function sqlhelpers.literal.
2019-01-01 17:43:56 -08:00
Ethan Dalool
b4b51e3604
Initial migratory commit.
2018-12-17 22:10:00 -08:00