Commit graph

474 commits

Author SHA1 Message Date
Simon Willison
1a93b72ba7 Increase csv field_size_limit to maximum, closes #229
Refs #227
2021-02-14 13:33:21 -08:00
Simon Willison
8f042ae1fd Fix for bug with extra columns in later chunks, closes #234
Thanks @nieuwenhoven for the fix, proposed in #225
2021-02-14 13:03:31 -08:00
Simon Willison
f51a1f6c3c
Run tests against Ubuntu, macOS and Windows
With tests fixes for Windows, thanks to @nieuwenhoven in #225. Closes #232
2021-02-14 12:39:54 -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
1e9eb875a6 Switch from codecs.getreader to io.TextIOWrapper, refs #230 2021-02-14 10:33:26 -08:00
Simon Willison
726219c350 Release 3.4.1 3.4.1
Closes #226
2021-02-05 18:10:04 -08:00
Simon Willison
7d04565010 Remove rogue import, refs #226 2021-02-05 18:09:48 -08:00
Simon Willison
f8010ca78f Release 3.4 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 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 3.2.1
Refs #221
2021-01-12 15:22:53 -08:00
Simon Willison
b6840646ba .add_missing_columns() is now case insensitive, closes #221 2021-01-12 15:17:27 -08:00
Simon Willison
4cc82fd0bc Release 3.2 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
c265541384 Shorter help summary for rebuild_fts 2021-01-03 12:22:07 -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
036ec6d323 Ignore test .db files 2021-01-03 10:43:21 -08:00
Simon Willison
1e38a16ea8 Nicer error message for invalid JSON insert, closes #206 2021-01-03 10:42:17 -08:00
Simon Willison
6d1828e40b
Don't run CodeQL against pull requests
It failed with strange errors. https://github.com/simonw/sqlite-utils/pull/203/checks?check_run_id=1549287178
2021-01-02 20:30:10 -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 3.1.1
Refs #209. Also updated copyright footer in documentation.
2021-01-01 15:56:20 -08:00
Simon Willison
33c759a74c Test now tolerates optimize producing larger DB, closes #209 2021-01-01 15:52:36 -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
f1277f638f
Added Homebrew installation instructions 2020-12-13 20:52:24 -08:00
Simon Willison
5e06026e76
Typo fix 2020-12-13 16:19:51 -08:00
Simon Willison
1ce96d8c08 Release 3.1 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
Andreas Madsack
c5f4f0f70c
Use jsonify_if_need for sql updates (#204)
* add failing tests for update with json values
* use jsonify_if_needed in for sql updates

Thanks, @mfa
2020-12-08 09:49:42 -08:00
Simon Willison
60d3c4821b Changes since the 3.0a0 alpha release 3.0 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
47abca0764 Update README for 3.0 release, refs #194 2020-11-08 09:16:25 -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
c5a798c15f .search_sql() fully respects columns=, closes #201
Refs #192 and #197
2020-11-08 08:53:53 -08:00
Simon Willison
a8acafbfe0 Fixed RST typo 2020-11-08 08:38:02 -08:00
Simon Willison
60f4aff9b0
Link changelog badge to /en/latest/changelog.html
That way you can see the changelog for alpha releases. Refs #194.
2020-11-06 18:23:56 -08:00
Simon Willison
6785e89cc0 Release 3.0a0 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