Commit graph

336 commits

Author SHA1 Message Date
Simon Willison
e83aef951b New :issue: macro, closes #306 2021-08-02 14:29: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
Simon Willison
d83b256813 --where and -p options for sqlite-utils convert, closes #304 2021-08-02 11:58:05 -07:00
Simon Willison
69c7da5ec9 Implemented .convert(..., where=, where_args=), refs #304 2021-08-02 11:33:56 -07:00
Simon Willison
4823aff4c3 table.count_where() method, closes #305 2021-08-01 22:08:17 -07:00
Simon Willison
5ec6686153
sqlite-utils convert command and db[table].convert(...) method
Closes #251, closes #302.
2021-08-01 21:47:39 -07:00
Simon Willison
c7e8d72be9 Release 3.13
Refs #299
2021-07-24 15:15:27 -07:00
Simon Willison
ab8d4aad0c sqlite-utils schema now takes optional tables, closes #299 2021-07-24 15:08:36 -07:00
Simon Willison
8981b9c1f3 Release 3.12
Refs #290, #291, #292
2021-06-25 10:59:05 -07:00
Simon Willison
fec6cd55ca Contributing documentation, closes #292 2021-06-25 10:53:46 -07:00
Simon Willison
33c9d00879 Documentation for db.query(), closes #290 2021-06-24 15:54:38 -07:00
Simon Willison
8cedc6a8b2
Typo fix
Thanks, https://twitter.com/garrettc/status/1406705348648525830
2021-06-20 13:44:02 -07:00
Simon Willison
a25a5845b8 Release 3.11
Refs #286, #287, #288
2021-06-20 11:50:48 -07:00
Simon Willison
dbcba6c597 Added installation instructions, closes #286 2021-06-20 11:47:09 -07:00
Simon Willison
933be66eba sqlite-utils memory --schema, closes #288
Also updated some rowid examples, closes #287
2021-06-20 11:25:21 -07:00
Simon Willison
dce9bb05b6 Really fix the anchors this time 2021-06-19 14:43:04 -07:00
Simon Willison
e71c41d39b
Fixed broken anchors 2021-06-19 13:36:16 -07:00
Simon Willison
13e76b375a Release 3.10
Refs #272, #274, #275, #276, #282, #284, #285
2021-06-19 09:01:39 -07:00
Simon Willison
5b257949d9 table.use_rowid introspection property, closes #285 2021-06-19 08:12:29 -07:00
Simon Willison
ec5174ed40 Detect types for sqlite-utils memory CSV, opt out with --no-detect-types - closes #282 2021-06-18 21:37:56 -07:00
Simon Willison
fd9867d145 sqlite-utils insert --detect-types option, refs #282 2021-06-18 21:18:58 -07:00
Simon Willison
00e4bd5ff1 TSV and JSON support for sqlite-utils memory
Closes #281, closes #279, refs #272
2021-06-18 20:11:54 -07:00
Simon Willison
7684bbf097 --encoding option for sqlite-utils memory, closes #280
Refs #272
2021-06-18 08:29:41 -07:00
Simon Willison
42ec59d8ee
sqlite-utils memory command for directly querying CSV/JSON data
* Turn SQL errors into click errors
* Initial CSV-only prototype of sqlite-utils memory, refs #272
* Implement --save plus tests for --save and --dump, refs #272
* Re-arranged CLI query documentation, refs #272
* Re-organized CLI query docs, refs #272
* Docs for --save and --dump plus made SQL optional for those, refs #273
* Replaced one last :memory: example
* Documented --attach option for memory command, refs #272
* Improved arrangement of CLI query documentation
2021-06-18 08:00:52 -07:00
Simon Willison
ca2b26130f sqlite-utils dump command, closes #274 2021-06-16 16:51:48 -07:00
Simon Willison
fe1562e8a6
Structure of most_common and least_common columns 2021-06-16 09:36:32 -07:00
Simon Willison
78aebb6479
Link to --load-extension docs 2021-06-15 19:36:16 -07:00
Simon Willison
a54b6788b0
Sub-headings for .transform() 2021-06-15 15:34:29 -07:00
Simon Willison
a81c05d235
Clarify types that can be passed to .transform() 2021-06-14 20:47:34 -07:00
Simon Willison
10f4913c14 Release 3.9.1
Refs #271
2021-06-12 19:59:08 -07:00
Simon Willison
b0f9d1e494 Fixed typo in 3.8 release notes 2021-06-11 19:07:18 -07:00
Simon Willison
baafcec4a5 Release 3.9
Refs #268
2021-06-11 19:05:12 -07:00
Simon Willison
0d2e4f49f3 db.schema and 'sqlite-utils schema' command, closes #268 2021-06-11 13:51:49 -07:00
Simon Willison
9696abfabf
Rearranged "Inserting JSON data" section 2021-06-08 13:03:12 -07:00
Simon Willison
9dff7a3883
Fixed markup 2021-06-06 23:02:18 -07:00
Simon Willison
d1a372b300 Release 3.8
Refs #261, #263
2021-06-02 22:16:33 -07:00
Simon Willison
28dc5aac34 sqlite-utils indexes command, refs #263 2021-06-02 21:26:49 -07:00
Simon Willison
9c67cb9252 table.xindexes property plus improved introspection documentation, closes #261 2021-06-02 20:51:27 -07:00
Simon Willison
2dad4f583c Improved .rows_where() documentation, added test for :named parameters 2021-06-02 11:57:11 -07:00
Simon Willison
670f92285f
Fixed RST 2021-05-28 23:31:04 -07:00
Simon Willison
8c542d20ca Release 3.7
Refs #237, #238, #240, #250, #257, #259, #260
2021-05-28 22:47:59 -07:00
Simon Willison
668e8c9fd1 Better help for sqlite-utils create-table 2021-05-28 22:01:54 -07:00
Simon Willison
51d01da30d
Ability to add descending order indexes (#262)
* DescIndex(column) for descending index columns, refs #260
* Ability to add desc indexes using CLI, closes #260
2021-05-28 22:01:38 -07:00
Juan E. D
328211eaca
Typo in upsert example (#244)
Remove extra `[`
2021-05-18 19:58:21 -07:00
Damien Ready
3e62ab62a8
Correct some typos (#245) 2021-05-18 19:58:04 -07:00
Simon Willison
bba6e241be --ignore for sqlite-utils drop-table and drop-view, closes #237 2021-02-25 09:11:37 -08:00
Simon Willison
c236894caa table.drop(ignore=True) option, refs #237 2021-02-25 09:05:08 -08:00
Simon Willison
38e688fb8b table.pks_and_rows_where() method, closes #240 2021-02-25 08:28:17 -08:00
Simon Willison
806c21044a Release 3.6
Refs #113, #236
2021-02-18 21:18:02 -08:00