Simon Willison
c710ade644
sqlite-utils duplicate command, closes #454 , refs #449
...
Also made it so .duplicate() raises new NoTable exception rather than raising
an AssertionError if the source table does not exist.
2022-07-15 14:45:47 -07:00
Simon Willison
7ddf530088
A less potentially confusing parameter name
2022-06-13 08:22:59 -07:00
Yuri
9fedfc69d7
docs to dogs ( #437 )
2022-05-30 14:32:41 -07:00
Simon Willison
397183debd
Switch docs theme to Furo, refs #435
2022-05-20 14:52:00 -07:00
Simon Willison
95522ad919
Clarified support for newline-delimited JSON, closes #417
2022-03-25 14:17:10 -07:00
Simon Willison
0b7b80bd40
Document the convert() with initialization pattern, closes #420
2022-03-25 13:07:29 -07:00
Simon Willison
878d5f5cea
errors=r.SET_NULL/r.IGNORE options for parsedate/parsedatetime, closes #416
2022-03-20 21:01:35 -07:00
Simon Willison
8f528ed2b1
Fix ReST warning
2022-02-15 17:21:07 -08:00
Simon Willison
3e5a4f60cc
Tweaked SpatiaLite CLI docs, refs #398
2022-02-15 17:06:49 -08:00
Chris Amico
a692c56659
Add SpatiaLite helpers to CLI ( #407 )
...
* Add SpatiaLite CLI helpers
* Add docs for spaitalite helpers
* Fix flake8 issues and add more detail on spatial types
* Run cog and add some help text.
* Use SpatiaLite when calculating coverage, refs #407
Co-authored-by: Simon Willison <swillison@gmail.com>
2022-02-15 16:58:07 -08:00
Simon Willison
3acc2f1772
Adding a primary key to a rowid table, closes #403
2022-02-08 11:33:45 -08:00
Simon Willison
7d928f8308
Better insert-replace CLI documentation, refs #393
2022-02-03 14:11:38 -08:00
Simon Willison
d1d2a8e6fa
sqlite-utils bulk --batch-size option, closes #392
2022-01-26 10:15:23 -08:00
Simon Willison
3b632f0a7e
sqlite-utils rows --where and -p options, closes #382
2022-01-11 15:32:43 -08:00
Simon Willison
324ebc3130
sqlite-utils rows --limit and --offset options, closes #381
2022-01-11 15:19:29 -08:00
Simon Willison
5f38c81601
Fixed typo
2022-01-11 11:20:34 -08:00
Simon Willison
129141572f
sqlite-utils bulk command
...
* sqlite-utils bulk command, closes #375
* Refactor import_options and insert_upsert_options, refs #377
* Tests for sqlite-utils bulk, refs #377
* Documentation for sqlite-utils bulk, refs #377
2022-01-10 18:10:54 -08:00
Simon Willison
1b84c175b4
--analyze option for create-index, insert, update commands, closes #379 , closes #365
2022-01-10 17:36:41 -08:00
Simon Willison
e0ef9288fe
sqlite-utils analyze command, refs #379
2022-01-10 17:24:17 -08:00
Simon Willison
1d64cd2e5b
sqlite-utils create-database command, closes #348
2022-01-09 12:33:16 -08:00
Simon Willison
f08fe6fd4d
Fixed error in docs: it's suffix not extension, refs #372
2022-01-09 12:18:31 -08:00
Simon Willison
c9ecd0d6a3
stem and suffix columns for insert-files, closes #372
2022-01-09 12:16:52 -08:00
Simon Willison
49a54ffb2f
Fix for cog error
...
Should help tests pass for #374 , #371
2022-01-09 12:08:03 -08:00
Simon Willison
22c8d10dd3
--convert function can now modify row in place, closes #371
2022-01-09 12:06:02 -08:00
Simon Willison
b8c134059e
--fmt now implies --table, closes #374
2022-01-09 10:07:48 -08:00
Simon Willison
148e9c7aee
Use cog to maintain --fmt list, closes #373
2022-01-09 09:48:48 -08:00
Simon Willison
539f5ccd90
Support 'python -m sqlite_utils', closes #368
...
Refs #364
2022-01-08 18:33:22 -08:00
Simon Willison
6e46b99134
Renamed ip to source in example code
2022-01-06 10:01:35 -08:00
Simon Willison
413f8ed754
--convert --text for iterators, docs for --convert
2022-01-05 22:24:53 -08:00
Simon Willison
2e4847e493
Implemented --convert for different things, renamed --all to --text
2022-01-05 22:24:53 -08:00
Simon Willison
e66299c6ed
Implemented and documented sqlite-utils insert --all
2022-01-05 22:24:53 -08:00
Simon Willison
f1569c9f7f
Implemented sqlite-utils insert --lines
2022-01-05 22:24:53 -08:00
Simon Willison
9e286cc6d2
New help for --lines and --all and --convert and --import, refs #356
2022-01-05 22:24:53 -08:00
Simon Willison
500a35ad4d
Also support def convert(value), closes #355
...
Plus added custom syntax error display
2021-12-10 16:49:28 -08:00
Simon Willison
7a43af232e
Support nested imports, closes #351
2021-12-10 16:11:22 -08:00
Simon Willison
a3df483c80
sqlite-utils convert db table column -, refs #353
2021-12-10 16:01:02 -08:00
Simon Willison
e328db8eba
Improved schema example for sqlite-utils extract
2021-12-10 13:12:38 -08:00
Simon Willison
12b8c9de25
sqlite-utils memory --flatten, closes #332
2021-11-14 15:05:00 -08:00
Simon Willison
718a8f61bc
Clarified description of --quote
2021-10-02 09:54:39 -07:00
Simon Willison
c1b26eed03
sqlite-utils memory handles files with same filename, closes #325
2021-09-22 13:45:37 -07:00
Simon Willison
49a010c93d
Ability to insert file contents as text, in addition to blob ( #321 )
2021-08-24 16:31:13 -07:00
Simon Willison
9258f4bd84
sqlite-utils memory --analyze, closes #320
2021-08-22 08:44:25 -07:00
Simon Willison
ccf128cd6d
sqlite-utils search --quote option, closes #296
2021-08-18 13:10:44 -07:00
Simon Willison
ee469e3122
Corrected tiny mistake in --flatten examples
2021-08-09 15:50:59 -07:00
Simon Willison
3fb1034e86
option, not object, refs #310
2021-08-09 14:46:47 -07:00
Simon Willison
f67327abf0
sqlite-utils insert --flatten option, closes #310
2021-08-09 14:44:03 -07:00
Simon Willison
991cf56ae2
Check spelling with codespell, closes #307
2021-08-03 09:48:49 -07:00
Simon Willison
d83f624a31
Clarified documentation for convert recipes, refs #251
2021-08-02 15:39:16 -07:00
Simon Willison
723ee35344
Release 3.14
...
Refs #251 , #301 , #302 , #303 , #304 , #305
2021-08-02 14:29:16 -07:00
Simon Willison
59032b00bb
Fixed incorrect example in documentation
2021-08-02 12:29:55 -07:00