Erlend E. Aasland
41c939cb35
gh-95273: Reorganize sqlite3 doc module level funcs and vars ( #95626 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-08 21:25:35 +02:00
Erlend E. Aasland
56af5a200d
gh-94635: Fixup sqlite3 'Introduction' seealso note ( #95751 )
...
In gh-95269, the seealso note incorrectly ended up in
the 'Tutorial' section.
2022-08-06 23:30:26 +02:00
Erlend Egeberg Aasland
44f1f63ad5
Docs: sqlite3 docs fixup ( #95681 )
...
- Disable links to the module itself
- Fix link indent
- Consistent ref markup
2022-08-05 00:06:46 +02:00
Erlend Egeberg Aasland
b24e8b28a7
gh-95271: Extract placeholders howto from sqlite3 tutorial ( #95522 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-04 22:41:18 +02:00
Erlend Egeberg Aasland
12d92c733c
gh-95273: Improve documented return values and exceptions raised for sqlite3 class methods ( #95530 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-04 21:58:10 +02:00
ceh
962acd4468
Docs: fix two typos in the sqlite3 docs ( #95661 )
...
- statment => statement
- transaciton => transaction
2022-08-04 20:25:53 +02:00
Erlend Egeberg Aasland
4d02572f8c
gh-95273: Align sqlite3 const doc refs with the devguide recommendations ( #95525 )
2022-08-03 22:21:15 +02:00
Erlend Egeberg Aasland
89f5229328
Docs: fix incorrect formatting in sqlite3 CLI docs ( #95581 )
2022-08-03 00:17:09 +02:00
Erlend Egeberg Aasland
bc7c7cd18a
gh-77617: Add sqlite3 command-line interface ( #95026 )
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-01 12:25:16 +02:00
Erlend Egeberg Aasland
1e6b63542e
gh-95273: Clarify when sqlite_* attributes are added to sqlite3 exceptions ( #95523 )
2022-08-01 11:15:07 +02:00
Erlend Egeberg Aasland
6c439b978b
gh-94635: Add Reference, How-to, and Concepts headings to sqlite3 docs ( #94636 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-31 01:24:15 +02:00
Erlend Egeberg Aasland
d92b19e1b5
gh-95273: Relocate sqlite3 enable load extension note ( #95430 )
2022-07-29 21:27:15 +02:00
Erlend Egeberg Aasland
2fbee85931
gh-95432: Fixup sqlite3 tutorial example ( #95431 )
...
- the insert statement should have five placeholders, not four
- missing ... in the multiline row list
2022-07-29 14:31:41 +02:00
Erlend Egeberg Aasland
e003b64f40
gh-95273: Improve sqlite3 class descriptions ( #95379 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-29 11:53:23 +02:00
Erlend Egeberg Aasland
f0bf7956e6
gh-95273: Move sqlite3 executemany examples from reference to tutorial ( #95351 )
2022-07-29 09:42:22 +02:00
Erlend Egeberg Aasland
e9c8de669d
gh-95273: Condense sqlite3 executescript example ( #95383 )
2022-07-29 09:40:44 +02:00
Erlend Egeberg Aasland
ea269b9a38
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-28 07:38:36 +02:00
Erlend Egeberg Aasland
2361908a9d
gh-95273: Normalise sqlite3 reference wording ( #95274 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-27 15:24:13 +02:00
Erlend Egeberg Aasland
2b37395612
gh-94630: Fixup sqlite3 argument spec docs for connection execute* methods ( #95319 )
2022-07-27 14:46:21 +02:00
Erlend Egeberg Aasland
2e35a13e46
gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings ( #95269 )
2022-07-27 07:43:24 +02:00
Erlend Egeberg Aasland
5012bedc7c
gh-95235: Add explicit parameter list to some sqlite3 methods ( #95240 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-26 08:29:18 +02:00
Erlend Egeberg Aasland
ac6a94c669
gh-95235: Document undocumented parameters in sqlite3 functions and methods ( #95236 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-25 18:46:55 +02:00
Erlend Egeberg Aasland
f9b3706df6
gh-81040: Improve sqlite3.Cursor.rowcount docs ( #94940 )
2022-07-22 09:34:39 +02:00
Erlend Egeberg Aasland
6dadf6ca01
gh-90016: Deprecate default sqlite3 adapters and converters ( #94276 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-20 21:37:59 +02:00
Ikko Ashimine
9ea72e9d8d
Docs: fix typo in sqlite3.rst ( #94798 )
...
Colum -> Column
2022-07-14 23:47:46 +02:00
Erlend Egeberg Aasland
e5b841a403
gh-94622: Add more references to the sqlite3 types anchor ( #94623 )
2022-07-08 02:38:38 +02:00
Erlend Egeberg Aasland
fb6dccae34
gh-94321: Document sqlite3.PrepareProtocol ( #94620 )
2022-07-08 00:33:17 +02:00
Erlend Egeberg Aasland
3eb2b9634f
gh-94628: Add explicit parameter list to sqlite3.connect docs ( #94629 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-07 09:00:20 +02:00
Erlend Egeberg Aasland
94988603f3
gh-94630: Update sqlite3 docs with positional-only and keyword-only symbols ( #94631 )
2022-07-07 01:13:30 +02:00
Erlend Egeberg Aasland
760b8cf0c8
gh-94017: Improve clarity of sqlite3 transaction handling docs ( #94320 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-06 22:59:07 +02:00
Ned Batchelder
3440d197a5
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551)
...
Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
2022-07-05 11:16:10 +02:00
Erlend Egeberg Aasland
cc81962e69
Doc: fix sqlite3 blob reference anchor ( #94505 )
2022-07-02 08:35:48 +02:00
Erlend Egeberg Aasland
bd3c1c187e
gh-90016: Reword sqlite3 adapter/converter docs ( #93095 )
...
Also add adapters and converter recipes.
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com
2022-06-25 22:06:06 +02:00
Erlend Egeberg Aasland
8e08978141
gh-61162: Clarify sqlite3 connection context manager docs (GH-93890)
...
Explicitly note that transactions are only closed if there is an open
transation at `__exit__`, and that transactions are not implicitly
opened during `__enter__`.
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Automerge-Triggered-By: GH:erlend-aasland
2022-06-19 13:17:43 -07:00
Erlend Egeberg Aasland
6446592c89
gh-93925: Improve clarity of sqlite3 commit/rollback, and close docs ( #93926 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-06-19 21:17:28 +02:00
Erlend Egeberg Aasland
ce4d11f98b
gh-93857: Fix broken audit-event targets in sqlite3 docs ( #93859 )
...
Corrected targets for the following audit-events:
- sqlite3.enable_load_extension => sqlite3.Connection.enable_load_extension
- sqlite3.load_extension => sqlite3.Connection.load_extension
2022-06-15 16:01:27 +02:00
Erlend Egeberg Aasland
d31834688b
gh-87260: Update sqlite3 signature docs to reflect actual implementation ( #93840 )
...
Align the docs for the following methods with the actual implementation:
- sqlite3.complete_statement()
- sqlite3.Connection.create_function()
- sqlite3.Connection.create_aggregate()
- sqlite3.Connection.set_progress_handler()
2022-06-15 12:28:24 +02:00
Kalyan
ffc58a9710
gh-93370: Deprecate sqlite3.version and sqlite3.version_info ( #93482 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-06-08 01:34:50 +02:00
Erlend Egeberg Aasland
bb0b768946
gh-89018: Improve documentation of `sqlite3` exceptions ( #27645 )
...
- Order exceptions as in PEP 249
- Reword descriptions, so they match the current behaviour
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-06 23:47:15 +02:00
Erlend Egeberg Aasland
7ee19e2715
gh-92780: Improve sqlite3.Connection.create_collation docs ( #92790 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-18 13:44:16 +02:00
Erlend Egeberg Aasland
29afb7d2ef
gh-69093: Add indexing and slicing support to sqlite3.Blob ( #91599 )
...
Authored-by: Aviv Palivoda <palaviv@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
2022-04-21 18:45:16 -07:00
Erlend Egeberg Aasland
017f07a229
gh-90923: Improve sqlite3.Connection.execute* docs ( #91643 )
...
- Drop 'nonstandard'; it does not add any value
- Try to be more concise
- Make return value a little more explicit
2022-04-17 14:12:55 -07:00
Erlend Egeberg Aasland
95573ade42
gh-69093: sqlite3 blob doc amendments (GH-91561)
...
- document that you cannot open a blob handle in a WITHOUT ROWID table
- document the blobopen() positional arguments in the same order as they
appear
- relocate sqlite3.Blob section
2022-04-16 06:28:38 -07:00
Erlend Egeberg Aasland
a861756675
gh-69093: Add context manager support to sqlite3.Blob (GH-91562)
2022-04-15 21:21:12 -07:00
Erlend Egeberg Aasland
ee475430d4
gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680)
...
Authored-by: Aviv Palivoda <palaviv@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
Co-authored-by: palaviv <palaviv@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-14 17:02:56 -07:00
Erlend Egeberg Aasland
9ebcece82f
gh-79097: Add support for aggregate window functions in sqlite3 (GH-20903)
2022-04-11 17:55:59 -07:00
Erlend Egeberg Aasland
a7551247e7
bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-04-05 07:15:25 -07:00
Hugo van Kemenade
6881ea936e
bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)
2022-03-30 12:00:27 +01:00
Erlend Egeberg Aasland
2d5835a019
sqlite3: normalise pre-acronym determiners (GH-31772)
...
For consistency, replace "a SQL" with "an SQL".
2022-03-10 17:52:47 -08:00
Erlend Egeberg Aasland
e801e88744
bpo-45138: Revert GH-28240: Expand traced SQL statements (GH-31788)
...
This reverts commit d1777515f9
.
Automerge-Triggered-By: GH:JelleZijlstra
2022-03-09 09:39:49 -08:00