Commit Graph

7 Commits

Author SHA1 Message Date
Neil O'Toole
26f0c9a381
Refactor source.Files ()
* Moved `source.Files` to its own package, thus the type is now `files.Files`.
* Moved much of the location functionality from pkg `source` to its own package `location`.
2024-01-24 23:29:55 -07:00
Neil O'Toole
2de993acaa
Sort imports using goimports-reviser () 2023-11-19 18:06:36 -07:00
Neil O'Toole
f07edef14d
Add flag --src.schema ()
* Support for --src.schema in commands "slq", "sql", and "inspect"
2023-11-18 17:05:48 -07:00
Neil O'Toole
2ba633fc2a
: Alias can be an arbitrary string. ()
* Fixed space issues with expressions

* Alias can now be an arbitrary string

* Alias can now be an arbitrary string (fixed)

* Alias now automatically applied to expressions

* Ignore .run

* Fixed issue with TestRun not logging correctly to testing.T

* Fiddling with sqlite3 temp file closing

* Re-enable tests
2023-06-18 00:05:09 -06:00
Neil O'Toole
e93f462fff
: explicit where() clause ()
Implement explicit `where()` clause.
2023-06-16 22:54:25 -06:00
Neil O'Toole
81f631e135
Refactoring ()
* Renamed source.Type to source.DriverType for clarity

* More renaming wrt source.DriverType

* Renamed output.Formatting to output.Printing
2023-04-21 21:36:32 -06:00
Neil O'Toole
bfd5542f75
Refactor/introduce query context ()
* Moved query_X_test.go from /drivers to /libsq

* Refactor: introduced libsq.QueryContext type
2023-04-01 03:48:24 -06:00