Commit graph

613 commits

Author SHA1 Message Date
Mina Rizk
69619f68c2
Add dict type to be mapped as TEXT in sqllite
the library deal with postgres type jsob as dictionary, add dict type as a TEXT for mapping to sqlite>
2021-08-25 22:52:33 +02:00
Simon Willison
77c240df56 Release 3.17 3.17
Refs #319, #320
2021-08-24 16:40:18 -07:00
Simon Willison
49a010c93d
Ability to insert file contents as text, in addition to blob (#321) 2021-08-24 16:31:13 -07:00
Simon Willison
9258f4bd84 sqlite-utils memory --analyze, closes #320 2021-08-22 08:44:25 -07:00
Simon Willison
d7b1024d3a
Corrected stdin example 2021-08-18 16:02:55 -07:00
Simon Willison
b30f725d98
Small improvement to example 2021-08-18 16:02:07 -07:00
Simon Willison
ddfdff657f
Fixed incorrecte output example 2021-08-18 16:01:00 -07:00
Simon Willison
5912878d62 Release 3.16 3.16
Refs #37, #246, #294, #295, #296, #314, #316
2021-08-18 15:36:32 -07:00
Simon Willison
c79737bb4f Type signatures for .create_table() and .create_table_sql() and .create() and Table.__init__
Closes #314
2021-08-18 15:25:18 -07:00
Simon Willison
282e81362a Applied Black plus some extra type hints 2021-08-18 14:55:37 -07:00
Simon Willison
c62363ebdc Run mypy against tests/ too, refs #37 2021-08-18 14:49:12 -07:00
Simon Willison
7479933bc4
More sqlite-utils memory examples in README closes #294 2021-08-18 14:40:02 -07:00
Simon Willison
7e2dcbbbea Fixed bug with --no-headers --tsv, closes #295 2021-08-18 13:18:54 -07:00
Simon Willison
61b60f58ce Nice capitalization of API reference 2021-08-18 13:13:52 -07:00
Simon Willison
ccf128cd6d sqlite-utils search --quote option, closes #296 2021-08-18 13:10:44 -07:00
Simon Willison
8ae77a6961 table.search(quote=True) parameter, refs #296 2021-08-18 12:55:53 -07:00
Simon Willison
f0fd19267f Black/flake8, refs #246 2021-08-18 11:56:36 -07:00
Simon Willison
1fa5a12a49 Documentation for db.quote_fts(), refs #246 2021-08-18 11:55:50 -07:00
Simon Willison
e6b1022791 Fix markup warning in docstring 2021-08-18 11:55:19 -07:00
Mark Neumann
53fec0d863
db.quote_fts() method, thanks Mark Neumann
Refs #296, closes #246.
2021-08-18 11:43:11 -07:00
Simon Willison
1fe73c898b
Remove link to older code example 2021-08-18 11:31:20 -07:00
Simon Willison
7a19822ac9
Updated tagline 2021-08-17 08:42:02 -07:00
Simon Willison
7ee7b628e1
Fixed some rogue backticks, closes #316 2021-08-13 22:10:47 -07:00
Simon Willison
b966c44ef8
Minor markup fix 2021-08-13 04:32:40 -07:00
Simon Willison
6de0a5d46a
Typo fix 2021-08-11 05:03:07 -07:00
Simon Willison
af89c5f851
How to create a Database instance 2021-08-11 04:56:54 -07:00
Simon Willison
3091bec4f7
Don't show inheritance for Database class 2021-08-11 04:54:00 -07:00
Simon Willison
bde3725257 Fixed spelling existent 3.15.1 2021-08-10 16:55:12 -07:00
Simon Willison
86fc9fb5c8 Release 3.15.1
Refs #311, #312, #313, #315
2021-08-10 16:53:10 -07:00
Simon Willison
6155da72c8
Add reference page to documentation using Sphinx autodoc (#312)
* Docstrings and type annotations for almost every method
* New /reference API documentation page using Sphink autodoc
* Custom Read The Docs config, to get autodoc working
* Fix for #313 (add_foreign_keys() doesn't reject being called with a View)
* Fixed #315 (.delete_where() returns [] when it should return self)
2021-08-10 16:09:28 -07:00
Simon Willison
ee469e3122 Corrected tiny mistake in --flatten examples 2021-08-09 15:50:59 -07:00
Simon Willison
8757de84b2
Link to stable docs, not latest 2021-08-09 15:44:26 -07:00
Simon Willison
d5ef912120 Release 3.15 3.15
Refs #309, #310
2021-08-09 15:42:06 -07:00
Simon Willison
a6567ec507 Capture parameters= not params=, refs #309 2021-08-09 15:33:33 -07:00
Simon Willison
14f643d9e9 Better error messages in CLI, closes #309 2021-08-09 15:25:52 -07:00
Simon Willison
3fb1034e86 option, not object, refs #310 2021-08-09 14:46:47 -07:00
Simon Willison
15758d02fd Fixed spelling of objects, refs #310 2021-08-09 14:45:39 -07:00
Simon Willison
f67327abf0 sqlite-utils insert --flatten option, closes #310 2021-08-09 14:44:03 -07:00
Simon Willison
cc90745f4e Started a Jupyter notebook tutorial, refs #308 2021-08-04 13:34:30 -07:00
Simon Willison
cff6afcc43 Run codespell against source code too, refs #307 2021-08-03 10:06:08 -07:00
Simon Willison
991cf56ae2 Check spelling with codespell, closes #307 2021-08-03 09:48:49 -07:00
Simon Willison
f7c8c78cd0
Fixed typo: commad 2021-08-02 23:05:45 -07:00
Simon Willison
d83f624a31 Clarified documentation for convert recipes, refs #251 2021-08-02 15:39:16 -07:00
Simon Willison
ec50e5eebc sqlite3.enable_callback_tracebacks(True) in docs, closes #300 2021-08-02 14:53:44 -07:00
Simon Willison
e83aef951b New :issue: macro, closes #306 3.14 2021-08-02 14:29:16 -07:00
Simon Willison
723ee35344 Release 3.14
Refs #251, #301, #302, #303, #304, #305
2021-08-02 14:29:16 -07:00
Simon Willison
59032b00bb
Fixed incorrect example in documentation 2021-08-02 12:29:55 -07:00
Simon Willison
60dea99ef7 --silent option for sqlite-utils insert-files, closes #301 2021-08-02 12:12:16 -07:00
Simon Willison
d83b256813 --where and -p options for sqlite-utils convert, closes #304 2021-08-02 11:58:05 -07:00
Simon Willison
69c7da5ec9 Implemented .convert(..., where=, where_args=), refs #304 2021-08-02 11:33:56 -07:00