Commit Graph

171 Commits

Author SHA1 Message Date
Neil O'Toole
806f6d7aa4 doc update 2021-01-03 22:09:29 -07:00
Neil O'Toole
30dd48bdb6 doc update 2021-01-03 22:07:12 -07:00
Neil O'Toole
75425bdf42 doc update 2021-01-03 21:56:50 -07:00
Neil O'Toole
7633b53b33 doc update 2021-01-03 21:47:44 -07:00
Neil O'Toole
55e9d87144 doc update 2021-01-03 21:47:13 -07:00
Neil O'Toole
6ae03599c3 doc update 2021-01-03 21:46:25 -07:00
Neil O'Toole
e2ffd570ed doc update 2021-01-03 21:45:04 -07:00
Neil O'Toole
c508c9979e doc update 2021-01-03 21:44:09 -07:00
Neil O'Toole
a0211875f1 Merge branch 'master' of https://github.com/neilotoole/sq into master 2021-01-03 21:41:47 -07:00
Neil O'Toole
1b1eaf8515 doc update 2021-01-03 21:41:36 -07:00
neilotoole
aedbdf43b2 Scoop update for sq version v0.14.8 2021-01-03 20:07:29 -07:00
Neil O'Toole
8fd0b292c7 flag usage update 2021-01-03 19:56:59 -07:00
Neil O'Toole
71a4f78e52
--insert now also creates the table (#78) 2021-01-03 19:56:22 -07:00
Neil O'Toole
e2f51f97c7 fixed panic with insert to non-existent table 2021-01-03 18:20:05 -07:00
Neil O'Toole
45b64d4848 docs update 2021-01-03 17:40:32 -07:00
neilotoole
b1ca16f733 Scoop update for sq version v0.14.7 2021-01-03 14:09:37 -07:00
Neil O'Toole
263b68577a goreleaser update: artifacts no longer have version numbers 2021-01-03 14:06:16 -07:00
Neil O'Toole
2831ae04f3 Merge branch 'master' of https://github.com/neilotoole/sq into master 2021-01-01 23:31:58 -07:00
Neil O'Toole
2b91b10eb4 README update 2021-01-01 23:31:52 -07:00
Neil O'Toole
9066d6d302 README update 2021-01-01 23:31:30 -07:00
neilotoole
2f2f0bf84d Scoop update for sq version v0.14.6 2021-01-01 22:46:04 -07:00
Neil O'Toole
9719b6a06b docs & misc 2021-01-01 22:42:33 -07:00
Neil O'Toole
8e0b1bd8d8 goreleaser deprecation update 2021-01-01 22:24:20 -07:00
Neil O'Toole
188a033a26
files handling cleanup (#77) 2021-01-01 21:10:02 -07:00
unknown
8d2398b309 close db resources 2021-01-01 18:57:07 -07:00
Neil O'Toole
7c4c8c8313 github workflow 2021-01-01 18:28:58 -07:00
neilotoole
fcca64874d Scoop update for sq version v0.14.5 2020-12-30 12:41:36 -07:00
Neil O'Toole
4faf1608ab
made sq repo public, at long last (#75) 2020-12-30 12:26:33 -07:00
Neil O'Toole
8345e6743b
removed notify stuff (#74) 2020-12-30 12:18:22 -07:00
Neil O'Toole
5aebc04356
Fixed issues with files and databases not being closed correctly (#73)
* fiddling with scratch database close order

* files debugging

* files debugging2

* files debugging3

* files debugging 4

* files debugging 5

* didn't close the ReadCloser in csv import

* more closing cleanup
2020-12-30 11:57:58 -07:00
Neil O'Toole
8c883d276e
sq tbl truncate for postgres now outputs the number of rows truncated (#72) 2020-11-24 22:12:15 -07:00
Neil O'Toole
06900f8c84
fixed some panics with oddly-shaped xlsx imports (#71) 2020-11-02 10:40:29 -07:00
Neil O'Toole
93f0de8614 README update 2020-10-20 09:18:56 -06:00
Neil O'Toole
a92b9abf34
Initial work on a JSON driver (#70)
* implementation work for json importers

* json driver checkpoint

* working on json.ParseObjectsInArray

* json.ParseObjectsInArray seems to be working

* checkpoint while tidying up ParseObjectsInArray

* more tidy checkpoint

* more tidy checkpoint 2

* tidying up ParseObjectsInArray

* tidy up

* code/docs cleanup

* more cleanup of json driver

* more cleanup of json driver

* flat json import seemingly working

* improvements to json driver

* json writer now prints empty [] for postgres empty tables
2020-10-20 09:05:43 -06:00
Neil O'Toole
0f3bc26f52
JSON driver: initial jsona driver (#69)
* jsona driver appears to be mostly working

* jsona verified as working

* minor tidy
2020-08-23 20:32:59 -06:00
Neil O'Toole
1818d50546
moved pkg libsq/sqlmodel to libsq/core/sqlmodel (#68) 2020-08-23 13:00:13 -06:00
Neil O'Toole
38be39a12f yet more pkg moving 2020-08-23 05:52:09 -06:00
Neil O'Toole
e4cc68b714
Slq move (#67)
* moved it

* what used to be libsq/slq in now libsq/ast/internal/slq
2020-08-23 05:16:16 -06:00
Neil O'Toole
58ccfc9ded
Json driver; refactoring of core packages (#66)
* Type Detector refactor

* json driver impl; refactoring of source.Files reader et al

* working on kind detector

* significant switcheroo of packages

* partway throught refactoring Kind

* major package switcheroo for Kind
2020-08-23 04:42:15 -06:00
Neil O'Toole
b3667d60cd
implementing SQLDriver.AlterTableAddColumn (#65) 2020-08-20 21:08:59 -06:00
Neil O'Toole
9746f726f6
fixing issues with inspect/metadata (#64) 2020-08-20 14:19:16 -06:00
Neil O'Toole
f2e69603a5
minor doc tidy (#63) 2020-08-19 14:46:04 -06:00
Neil O'Toole
929b81c6d3
MySQL "inspect" performance (#62)
* mysql inspect performance

* tidying up mysql metadata
2020-08-18 13:13:25 -06:00
Neil O'Toole
65259754f5
Improvements to metadata (sq inspect) (#61)
* improvements to sqlite source metadata query

* table metadatawriter colorization tuning; minor testh.Helper refactoring

* cleanup of metadata for multiple drivers

* more cleanup of source/table metadata

* yet more cleanup of source/table metadata

* improvements to mysql SourceMetadata

* improvements to mysql TableMetadata

* yet more fiddling with mysql metadata
2020-08-15 15:06:40 -06:00
Neil O'Toole
f00c1f2307
renamed driver.Driver impls from mysql.Driver to mysql.driveri etc (#60) 2020-08-12 21:40:03 -06:00
Neil O'Toole
48630a621f
Removed sqlx dependencies (#59) 2020-08-12 21:22:53 -06:00
Neil O'Toole
1ceb50e795
SQL batch insert (#58)
* initial refactoring for the numRows param

* work on driver.NewBatchInsert

* work on NewBatchInsert

* batch insert seems to work

* switched testh.Insert to use BatchInsert

* doc cleanup

* batch insert for dbwriter and csv

* removed unneeded NumRows from driver.StmtExecer

* minor tidyup
2020-08-12 12:24:01 -06:00
Neil O'Toole
3e10868a29
Switched pkg sakila "const" slices to functions (#57)
* replaced sakila source slices with funcs

* missed some pkg sakila slices to refactor
2020-08-10 09:16:44 -06:00
Neil O'Toole
8b1bd4c03a
replaced sakila source slices with funcs (#56) 2020-08-09 08:40:46 -06:00
Neil O'Toole
67cfb142e1
config cleanup; misc doc fixes; minor refactoring; fiddling with output writer presentation (#55) 2020-08-09 07:46:46 -06:00