Ricardo Ander-Egg
341f50d2d9
Add fts offset docs.
...
The limit can be passed as a string to the query builder to have an offset. I have tested it using the shorthand `limit=f"15, 30"`, the standard syntax should work too.
2021-01-22 21:50:46 +01: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
Simon Willison
0dca784dbe
Release 3.1.1
...
Refs #209 . Also updated copyright footer in documentation.
2021-01-01 15:56:20 -08:00
Simon Willison
6a34426b12
Docs now live at sqlite-utils.datasette.io
2020-12-29 13:34:55 -08:00
Simon Willison
8ca35dfb64
Link to new datasette.io website
2020-12-29 13:33:25 -08:00
Simon Willison
5e06026e76
Typo fix
2020-12-13 16:19:51 -08:00
Simon Willison
1ce96d8c08
Release 3.1
...
Refs #204 , #207 , #208
2020-12-12 23:30:59 -08:00
Simon Willison
69a121e088
sqlite-utils analyze-tables command and table.analyze_column() method
...
Closes #207
2020-12-12 23:20:11 -08:00
Simon Willison
60d3c4821b
Changes since the 3.0a0 alpha release
2020-11-08 09:23:38 -08:00
Simon Willison
68637732e0
Release 3.0
...
Refs #192 #193 #196 #199 #198 #197 #200 #201
Closes #194
2020-11-08 09:19:20 -08:00
Simon Willison
ce2b07c358
Updated docs for .search_sql() method
...
Also improved indentation of generated SQL queries. Refs #197
2020-11-08 09:04:37 -08:00
Simon Willison
79109939c3
search --limit now defaults to everything, refs #192
2020-11-08 09:00:43 -08:00
Simon Willison
a8acafbfe0
Fixed RST typo
2020-11-08 08:38:02 -08:00
Simon Willison
6785e89cc0
Release 3.0a0
...
Refs #192 #193 #194 #196 #199 #198 #197 #200
2020-11-06 17:22:24 -08:00
Simon Willison
cbc9841646
Docs for .search() and .search_sql(), refs #197
2020-11-06 16:58:57 -08:00
Simon Willison
6863dc2677
sqlite-utils rows -c, closes #200
2020-11-06 16:28:41 -08:00
Simon Willison
309ae84336
'-f' must now always be specified as '--fmt', refs #194
2020-11-06 16:19:04 -08:00
Simon Willison
afee15f04b
--tsv output option, closes #193
2020-11-06 16:09:42 -08:00
Simon Willison
771bd81b62
search_sql() returns most relevant first, not least
...
Refs #192
2020-11-06 15:50:02 -08:00
Simon Willison
476825a224
How to use register_function as a method, not a decorator
2020-11-06 10:30:41 -08:00
Simon Willison
27b67f1cae
@db.register_function(..., replace=True), closes #199
2020-11-06 10:30:41 -08:00
Simon Willison
de39e8db1e
Refactored to table.search_sql() method, added --limit
2020-11-06 10:30:41 -08:00
Simon Willison
2c00567aac
sqlite-utils search WIP, refs #192
2020-11-06 10:30:41 -08:00
Simon Willison
59d8689ed0
table.virtual_table_using property, closes #196
2020-11-04 19:53:45 -08:00
Simon Willison
43eae8b193
Release 2.23
...
Refs #189 , #173 , #191
2020-10-28 14:38:10 -07:00
Simon Willison
0789bad8f7
@db.register_function(deterministic=True), closes #191
2020-10-28 14:30:58 -07:00
Simon Willison
f99a236529
Progress bar for sqlite-utils insert command, closes #173
2020-10-27 11:16:02 -07:00
Simon Willison
47af71f603
Release 2.22
...
Refs #182 #137 #136 #184 #181
2020-10-16 12:30:25 -07:00
Simon Willison
21ff60e3b1
--load-extension= for many more commands, closes #137
...
Also added --load-extension=spatialite shortcut, closes #136
2020-10-16 12:14:22 -07:00
Simon Willison
2c541fac35
--encoding option for non-utf8 CSV/TSV, closes #182
2020-10-16 10:18:46 -07:00
Simon Willison
7eda0532e8
Consistent usage of db["dogs"], closes #185
2020-10-11 17:13:35 -07:00
Simon Willison
cda559f835
Include --column-order in combined example, refs #176
2020-09-24 13:33:19 -07:00
Simon Willison
a57acf84f7
Release 2.21
...
Refs #172 , #175 , #176 , #177
2020-09-24 09:44:30 -07:00
Simon Willison
5a63b9e88c
Simplify drop-foreign-key, and drop_foreign_keys, closes #177
2020-09-24 09:19:07 -07:00
Simon Willison
d13c123100
sqlite-utils transform --column-order option, closes #176
2020-09-24 09:11:53 -07:00
Simon Willison
725f206949
Documentation for .transform(column_order=), closes #175
2020-09-24 09:00:50 -07:00