Commit graph

  • cbc9841646 Docs for .search() and .search_sql(), refs #197 Simon Willison 2020-11-06 16:58:57 -08:00
  • bce1872109 order= is now order_by=, refs #197 Simon Willison 2020-11-06 16:43:33 -08:00
  • 2bc1e9c5b4 Added test for .search_sql() and FTS4, refs #197 Simon Willison 2020-11-06 16:32:40 -08:00
  • 6863dc2677 sqlite-utils rows -c, closes #200 Simon Willison 2020-11-06 16:28:41 -08:00
  • 309ae84336 '-f' must now always be specified as '--fmt', refs #194 Simon Willison 2020-11-06 16:17:15 -08:00
  • afee15f04b --tsv output option, closes #193 Simon Willison 2020-11-06 16:09:42 -08:00
  • 771bd81b62 search_sql() returns most relevant first, not least Simon Willison 2020-11-06 15:50:02 -08:00
  • 63e2bdf18d Added test for sqlite-utils search, refs #192 Simon Willison 2020-11-06 15:40:42 -08:00
  • d411fba1f4 .search() works for FTS4, yields dicts Simon Willison 2020-11-06 10:23:16 -08:00
  • 476825a224 How to use register_function as a method, not a decorator Simon Willison 2020-11-06 08:03:25 -08:00
  • 27b67f1cae @db.register_function(..., replace=True), closes #199 Simon Willison 2020-11-06 07:53:22 -08:00
  • 7c22a64fb6 .search() now works differently for FTS4 v.s. FTS5 Simon Willison 2020-11-05 10:01:58 -08:00
  • de39e8db1e Refactored to table.search_sql() method, added --limit Simon Willison 2020-11-03 14:46:18 -08:00
  • 2c00567aac sqlite-utils search WIP, refs #192 Simon Willison 2020-11-03 14:01:14 -08:00
  • 973d94d44f
    Merge branch 'main' into cli-search Simon Willison 2020-11-06 10:26:07 -08:00
  • a5b85ebdf8 .search() works for FTS4, yields dicts Simon Willison 2020-11-06 10:23:16 -08:00
  • 905f8bf65a How to use register_function as a method, not a decorator Simon Willison 2020-11-06 08:03:25 -08:00
  • 49881ffbc9 @db.register_function(..., replace=True), closes #199 Simon Willison 2020-11-06 07:53:22 -08:00
  • 0c46f34b25 .search() now works differently for FTS4 v.s. FTS5 Simon Willison 2020-11-05 10:01:58 -08:00
  • 59d8689ed0 table.virtual_table_using property, closes #196 Simon Willison 2020-11-04 19:53:32 -08:00
  • 757172065c table.virtual_table_using property, closes #196 Simon Willison 2020-11-04 19:53:32 -08:00
  • c8a900df59 Refactored to table.search_sql() method, added --limit Simon Willison 2020-11-03 14:46:18 -08:00
  • 6cadc6103f sqlite-utils search WIP, refs #192 Simon Willison 2020-11-03 14:01:14 -08:00
  • 43eae8b193 Release 2.23 2.23 Simon Willison 2020-10-28 14:38:10 -07:00
  • 0789bad8f7 @db.register_function(deterministic=True), closes #191 Simon Willison 2020-10-28 14:24:03 -07:00
  • f99a236529
    Progress bar for sqlite-utils insert command, closes #173 Simon Willison 2020-10-27 11:16:02 -07:00
  • 62d678122a Documentation for --silent, refs #173 Simon Willison 2020-10-27 11:10:49 -07:00
  • 2f38660d48 Progress bar for insert works now Simon Willison 2020-10-27 11:07:06 -07:00
  • c7e5dd6451 Applied latest Black Simon Willison 2020-10-27 09:26:01 -07:00
  • f045d8559a
    Allow iterables other than lists in m2m records (#189) Adam Wolf 2020-10-27 11:24:21 -05:00
  • 93230b2acb Add test for iterable m2m records Adam Wolf 2020-10-27 11:15:20 -05:00
  • 4c1ed92c17 Progress bar WIP Simon Willison 2020-10-26 21:37:19 -07:00
  • 0193ba04d5 Allow iterables other than Lists in m2m records Adam Wolf 2020-10-26 13:36:50 -05:00
  • 2771ab96e7 Test showing stdin inserts work Simon Willison 2020-10-25 20:05:56 -07:00
  • e4f1c7b936
    python_requires=">=3.6" Simon Willison 2020-10-23 14:19:30 -07:00
  • 55133b5966
    Link to sqliteutils tag on my blog Simon Willison 2020-10-21 11:08:28 -07:00
  • 0b5edd6469 Added basic tests using hypothesis, closes #180 Simon Willison 2020-10-18 21:51:50 -07:00
  • 47af71f603 Release 2.22 2.22 Simon Willison 2020-10-16 12:30:25 -07:00
  • 21ff60e3b1 --load-extension= for many more commands, closes #137 Simon Willison 2020-10-16 12:14:22 -07:00
  • 2c541fac35 --encoding option for non-utf8 CSV/TSV, closes #182 Simon Willison 2020-10-16 10:18:46 -07:00
  • 7c0ef116ed pk=['id'] now equivalent to pk='id', closes #181 Simon Willison 2020-10-14 14:59:38 -07:00
  • 7eda0532e8 Consistent usage of db["dogs"], closes #185 Simon Willison 2020-10-11 17:13:24 -07:00
  • 4e8e157b5d
    Test against Python 3.9 on publish Simon Willison 2020-10-07 18:45:07 -07:00
  • 8e91de8e4e
    Python 3.9 (#184) Simon Willison 2020-10-07 18:44:05 -07:00
  • 975c05b6dd
    Python versions badge python-3.9 Simon Willison 2020-10-07 18:43:27 -07:00
  • b724956586
    Programming Language :: Python :: 3.9 Simon Willison 2020-10-07 18:42:29 -07:00
  • ee811fb6c7
    Test agaist Python 3.9 Simon Willison 2020-10-07 18:37:01 -07:00
  • 7f4fe9190c
    Configure code scanning, refs #183 Simon Willison 2020-09-30 15:17:23 -07:00
  • cada1017ed
    Fixed incorrect example in README Shakeel Mahate 2020-09-30 16:29:27 -04:00
  • 0c6a81dae8
    Update README.md Simon Willison 2020-09-30 13:28:57 -07:00
  • a53d19fb1c
    Update README.md Shakeel Mahate 2020-09-25 11:51:50 -04:00
  • 94fc62857e Demonstrate extract= creates correct foreign keys Simon Willison 2020-09-24 15:46:46 -07:00
  • cda559f835 Include --column-order in combined example, refs #176 Simon Willison 2020-09-24 13:33:19 -07:00
  • a57acf84f7 Release 2.21 2.21 Simon Willison 2020-09-24 09:44:30 -07:00
  • 5a63b9e88c Simplify drop-foreign-key, and drop_foreign_keys, closes #177 Simon Willison 2020-09-24 09:19:07 -07:00
  • d13c123100 sqlite-utils transform --column-order option, closes #176 Simon Willison 2020-09-24 09:11:53 -07:00
  • 725f206949 Documentation for .transform(column_order=), closes #175 Simon Willison 2020-09-24 09:00:50 -07:00
  • 022cdd97a9
    Much, much faster extract() implementation Simon Willison 2020-09-24 08:43:55 -07:00
  • 227095ee90 Tests for reusing lookup table in extract() Simon Willison 2020-09-24 08:40:55 -07:00
  • 01ff0937f7 Fix for column ordering after .extract(), refs #172 Simon Willison 2020-09-24 08:15:12 -07:00
  • dfe91a8a44 Removed unnecessary update() optimization Simon Willison 2020-09-24 07:55:04 -07:00
  • bf15acde88 Removed unnecessary progress bar, refs #172 Simon Willison 2020-09-24 07:53:30 -07:00
  • 5eb14d1c1f Added several missing 'return self' to support chaining Simon Willison 2020-09-24 07:51:36 -07:00
  • 61015c8f64 Much, much faster extract() implementation, refs #172 Simon Willison 2020-09-24 00:51:55 -07:00
  • 0ca5585fcb Clarify why you would want transform_sql() Simon Willison 2020-09-23 13:16:01 -07:00
  • 66d506587e Some optimizations for extract() Simon Willison 2020-09-23 13:12:09 -07:00
  • 1ebffe1dbe Correction: SQLite ALTER TABLE can rename columns Simon Willison 2020-09-22 20:09:42 -07:00
  • 9f59a7a325 Fixed typo in release notes, refs #170 2.20 Simon Willison 2020-09-22 17:35:44 -07:00
  • 5534c320e4 Applied Black Simon Willison 2020-09-22 17:32:40 -07:00
  • dcdef136db Release 2.20 Simon Willison 2020-09-22 17:31:15 -07:00
  • b8e0048485 Fixed PRAGMA foreign_keys handling for .transform, closes #167 Simon Willison 2020-09-22 17:12:56 -07:00
  • 5c4d58d152 Progress bar for "sqlite-utils extract", closes #169 Simon Willison 2020-09-22 17:02:29 -07:00
  • 55cf928f73 sqlite-utils extract, closes #42 Simon Willison 2020-09-22 16:37:39 -07:00
  • 2db6c5b2d5 table.extract() now works with rowid tables, refs #42 Simon Willison 2020-09-22 16:11:07 -07:00
  • 71782311ce New .rows_where(select=) argument Simon Willison 2020-09-22 16:10:14 -07:00
  • 317071a552 Applied Black Simon Willison 2020-09-22 16:09:28 -07:00
  • c3210f2ffb Added table.extract(rename=) option, refs #42 Simon Willison 2020-09-22 15:57:02 -07:00
  • c755f2852d Docstring for sqlite-utils transform Simon Willison 2020-09-22 15:47:11 -07:00
  • f8553799d3 table.extract() method, refs #42 Simon Willison 2020-09-22 15:20:18 -07:00
  • f29f6821f2 Applied Black Simon Willison 2020-09-22 00:49:27 -07:00
  • 752d261229 Implemented sqlite-utils transform command, closes #164 Simon Willison 2020-09-22 00:46:32 -07:00
  • f8e10df00e
    Keyword only arguments for transform() Simon Willison 2020-09-21 23:39:10 -07:00
  • f8648cac3a Keyword only arguments for transform() Simon Willison 2020-09-21 23:38:40 -07:00
  • 139c8df85b
    Keyword only arguments, refs #165 Simon Willison 2020-09-21 22:41:18 -07:00
  • 987dd123f2
    table.transform() method - closes #114 Simon Willison 2020-09-21 21:20:01 -07:00
  • dc3eb9c313 Correct handling of pragma foreign_keys for .transform() Simon Willison 2020-09-21 21:18:24 -07:00
  • 2628e4d676 Documentation for table.transform(), refs #114 Simon Willison 2020-09-21 20:47:22 -07:00
  • 95bfe1c77c .transform(pk=None) to create rowid table Simon Willison 2020-09-21 20:39:05 -07:00
  • 1e05fb157d .transform(drop_foreign_keys=...), refs #114 Simon Willison 2020-09-21 20:20:48 -07:00
  • 785c4a80a2 .transform(defaults=...) Simon Willison 2020-09-21 19:57:44 -07:00
  • 90258748b4 Fixed error when .transform(not_null=None) Simon Willison 2020-09-21 19:47:00 -07:00
  • a29ba8cf34 .transform() can now alter NOT NULL Simon Willison 2020-09-21 19:40:38 -07:00
  • 99d931ed4a Applied Black Simon Willison 2020-09-21 19:24:51 -07:00
  • fe7cb7e8aa Test for .transform() rowid table to id table Simon Willison 2020-09-21 19:22:23 -07:00
  • 7b8e7c4207 Also check that .transform() runs without exceptions Simon Willison 2020-09-21 19:18:15 -07:00
  • 9a6e7dab4d .transform() can now change the primary key Simon Willison 2020-09-21 19:15:43 -07:00
  • 2b5956690d @db.register_function decorator, closes #162 Simon Willison 2020-09-21 17:31:43 -07:00
  • 482477585a @db.register_function decorator, closes #162 Simon Willison 2020-09-21 17:31:43 -07:00
  • 59692895fd More .transform() tests Simon Willison 2020-09-21 16:58:02 -07:00
  • b34c9b40c2 New, improved implementation of transform(), refs #114 Simon Willison 2020-09-21 16:54:37 -07:00