Commit graph

311 commits

Author SHA1 Message Date
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
Simon Willison
2ba5588881 sqlite-utils --attach option, closes #236 2021-02-18 21:08:39 -08:00
Simon Willison
999f099cbe db.attach(alias, filepath) method, closes #113
Will also be useful for #236
2021-02-18 20:56:32 -08:00
Simon Willison
8fcaee03b7 Release 3.5
Refs #228, #229, #230, #231, #232, #234
2021-02-14 14:43:06 -08:00
Simon Willison
50d2096f5e --no-headers option for sqlite-utils insert --csv, closes #228 2021-02-14 14:25:03 -08:00
Simon Willison
320f3ac33a offset= and limit= parameters, closes #231 2021-02-14 12:02:41 -08:00
Simon Willison
cf811e35e1 Formatting fix 2021-02-14 11:25:58 -08:00
Simon Willison
99ff0a288c sqlite-utils insert --sniff option, closes #230 2021-02-14 11:23:12 -08:00
Simon Willison
726219c350 Release 3.4.1
Closes #226
2021-02-05 18:10:04 -08:00
Simon Willison
f8010ca78f Release 3.4
Refs #223
2021-02-05 17:37:27 -08:00
Simon Willison
1b666f9315 --delimiter and --quotechar, closes #223 2021-02-05 17:34:47 -08:00
Simon Willison
36dc7e3909 Release 3.3
Refs #222
2021-01-17 20:28:24 -08:00
Simon Willison
d4e00f8d01 table.m2m(..., alter=True) option, closes #222 2021-01-17 20:26:02 -08:00
Simon Willison
0b244d207a Release 3.2.1
Refs #221
2021-01-12 15:22:53 -08:00
Simon Willison
4cc82fd0bc Release 3.2
Refs #206, #211, #212, #213, #214, #215, #216, #217, #218, #219
2021-01-03 13:15:26 -08:00
Simon Willison
0d2a47eab9 .reset_counts() method and reset-counts command, closes #219 2021-01-03 12:59:31 -08:00
Simon Willison
b4f09146d3 table.has_counts_triggers property, refs #219 2021-01-03 12:41:24 -08:00
Simon Willison
94b5023066 table.count now uses cached counts if db.use_counts_table
Closes #215
2021-01-03 12:19:34 -08:00
Simon Willison
ce042ff1f0 'sqlite-utils enable-counts' command, closes #214 2021-01-02 20:26:39 -08:00
Simon Willison
de08096989 database.triggers_dict, closes #216 2021-01-02 20:19:55 -08:00
Simon Willison
3d041d34d5 Renamed db.escape() to db.quote() and documented it
Closes #217
2021-01-02 20:15:04 -08:00
Simon Willison
ce918195a4 Use $ instead of % in CLI documentation
Refs #218
2021-01-02 19:52:15 -08:00
Simon Willison
5b246d17a0 'sqlite-utils triggers' command, closes #218 2021-01-02 19:03:15 -08:00
Simon Willison
9a5c92b63e db.enable_counts() method, closes #213 2021-01-02 14:03:52 -08:00
Simon Willison
1cad7fad3e table.enable_counts() method, closes #212 2021-01-02 13:40:10 -08:00
Simon Willison
b067f1ff57 table.triggers_dict property, closes #211 2021-01-01 18:10:04 -08:00