Simon Willison
|
1ac5d4e39d
|
Handle changed defaults, refs #467
|
2022-08-27 15:53:53 -07:00 |
|
Simon Willison
|
341f000097
|
not_null support for .create(transform=True), refs #467
|
2022-08-27 15:42:47 -07:00 |
|
Simon Willison
|
9e3d8abc58
|
table.default_values property, closes #475
Refs #468
|
2022-08-27 15:42:11 -07:00 |
|
Simon Willison
|
5fdf4d9731
|
Merge branch 'main' into create-transform
|
2022-08-27 15:12:58 -07:00 |
|
Simon Willison
|
1e7959d7a6
|
Initial tests for .create(..., transform=True), refs #467
|
2022-08-27 15:11:59 -07:00 |
|
Simon Willison
|
5ef47d6c30
|
sqlite-utils create-table --transform, refs #467
|
2022-08-27 07:54:54 -07:00 |
|
Forest Gregg
|
c5f8a2eb1a
|
in extract code, check equality witH IS instead of = for nulls (#455)
sqlite "IS" is equivalent to SQL "IS NOT DISTINCT FROM"
close #423
|
2022-08-27 07:45:03 -07:00 |
|
Simon Willison
|
19dd077944
|
Support entrypoints for --load-extension (#473)
* Entrypoint support, closes #470
|
2022-08-26 22:55:47 -07:00 |
|
Simon Willison
|
a46a5e3a9e
|
Improved code compilation pattern, closes #472
|
2022-08-26 22:20:09 -07:00 |
|
Simon Willison
|
23ef1d6c20
|
bulk --functions, closes #471
|
2022-08-26 22:10:43 -07:00 |
|
Simon Willison
|
59e2cfbdc1
|
sqlite-utils memory --functions, refs #471
|
2022-08-26 22:03:53 -07:00 |
|
Simon Willison
|
31f062d4a7
|
sqlite-utils query --functions option, refs #471
|
2022-08-26 21:53:55 -07:00 |
|
Simon Willison
|
7a9a6363ff
|
sqlite-utils rows --order option, closes #469
|
2022-08-26 21:10:20 -07:00 |
|
Simon Willison
|
b09b7a5129
|
Docstring tweak
|
2022-08-23 10:30:44 -07:00 |
|
Simon Willison
|
5a738ed793
|
Remove unused import
|
2022-08-23 10:28:42 -07:00 |
|
Simon Willison
|
8250b201c2
|
mypy fixes, refs #467
|
2022-08-23 10:26:03 -07:00 |
|
Simon Willison
|
8e3df0acce
|
Initial tranform=True prototype for #467
|
2022-08-23 10:20:46 -07:00 |
|
Simon Willison
|
b5e902fcb0
|
Applied Black
|
2022-07-28 08:13:47 -07:00 |
|
Simon Willison
|
573de14ab6
|
Improved docstring comments for Table class and db.table()
|
2022-07-27 17:28:46 -07:00 |
|
Simon Willison
|
1491b66dd7
|
register_function(name=...) argument, closes #458
|
2022-07-27 17:13:49 -07:00 |
|
Simon Willison
|
bfbe69646e
|
Fixed incorrect register_function code example
|
2022-07-27 17:08:50 -07:00 |
|
Simon Willison
|
b9a89a0f2c
|
duplicate --ignore option, refs #450
|
2022-07-15 15:35:58 -07:00 |
|
Simon Willison
|
5fa823f03f
|
add-column --ignore option, refs #450
|
2022-07-15 15:31:37 -07:00 |
|
Simon Willison
|
2c77f4467e
|
Add --ignore to create-index as alias of --if-not-exists, refs #450
|
2022-07-15 15:25:49 -07:00 |
|
Simon Willison
|
40b6947255
|
enable-fts --replace option, refs #450
Also fixed up some sqlite3.OperationalError imports.
|
2022-07-15 15:20:26 -07:00 |
|
Simon Willison
|
9dd4cf891d
|
Improve CLI help for drop-table and drop-view, refs #450
|
2022-07-15 15:09:07 -07:00 |
|
Simon Willison
|
e10536c7f5
|
utils.chunks() is now a documented API, closes #451
|
2022-07-15 14:59:30 -07:00 |
|
Simon Willison
|
015c663464
|
Fixed lint errors, refs #454
|
2022-07-15 14:59:06 -07:00 |
|
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
|
da030d49fd
|
Documentation for .duplicate(), refs #449
|
2022-07-15 14:29:52 -07:00 |
|
David
|
b366e68deb
|
table.duplicate(new_table_name) feature, closes #449
Thanks, @davidleejy
|
2022-07-15 14:21:36 -07:00 |
|
Simon Willison
|
8a9fe6498f
|
Applied Black, refs #445
|
2022-06-20 12:50:15 -07:00 |
|
Simon Willison
|
773f2b6b20
|
Documented TypeTracker, closes #445
|
2022-06-20 12:46:49 -07:00 |
|
Simon Willison
|
b8af3b96f5
|
Fix bug with detect_fts() and similar table names, closes #434
|
2022-06-14 16:24:06 -07:00 |
|
Simon Willison
|
1b09538bc6
|
where= and where_args= parameters to search() and search_sql()
Closes #441
|
2022-06-14 14:54:35 -07:00 |
|
Simon Willison
|
0cee77b176
|
Update test for renamed restkey, refs #440, #443
|
2022-06-14 14:14:20 -07:00 |
|
Simon Willison
|
ce670e2d44
|
Docs for rows_from_file
Closes #440, closes #443
|
2022-06-14 13:12:42 -07:00 |
|
Simon Willison
|
f142bb1212
|
flake8 fix, refs #440
|
2022-06-14 09:14:57 -07:00 |
|
Simon Willison
|
d9c715a2fc
|
One more typing fix, refs #440
|
2022-06-14 09:07:57 -07:00 |
|
Simon Willison
|
19efee2746
|
mypy fixes, refs #440
|
2022-06-14 08:39:08 -07:00 |
|
Simon Willison
|
d379f430f8
|
rows_from_file(... ignore_extras: bool, restkey: str), refs #440
|
2022-06-14 08:14:02 -07:00 |
|
Simon Willison
|
cbaad1f153
|
Removed unused sys import, refs #425
|
2022-04-13 15:40:57 -07:00 |
|
Simon Willison
|
0e60f3c80c
|
Better error message if table has no columns, closes #424
|
2022-04-13 15:39:48 -07:00 |
|
Simon Willison
|
4433eafff7
|
Fix for register() on Python 3.7, refs #425
|
2022-04-13 15:35:57 -07:00 |
|
Simon Willison
|
6f3ae864f1
|
Better support check for deterministic=True, closes #425
Bug first discovered in #421
|
2022-04-13 15:31:37 -07:00 |
|
Simon Willison
|
93fa79d30b
|
Ignore flake8 lambda errors, refs #415
|
2022-03-20 21:22:09 -07:00 |
|
Simon Willison
|
751ab205ac
|
Fix for --multi combined with --dry-run, closes #415
|
2022-03-20 21:18:18 -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
|
433813612f
|
Move sqls=[] closer to where it is populated
|
2022-03-11 13:44:07 -08:00 |
|
Simon Willison
|
6fd7c138e2
|
Fixed .transform() method which I broke in #413
|
2022-03-11 09:54:17 -08:00 |
|