Marcos Pereira
ee21110086
Docs: improve accuracy of sqlite3 `check_same_thread` parameter ( #101351 )
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-02 00:52:29 +01:00
Peter Jiping Xie
db757f0e44
gh-101386: fix typos found by codespell ( #101387 )
2023-01-28 11:57:40 +02:00
Erlend E. Aasland
b84be8d9c0
Docs: improve sqlite3 placeholders example ( #101092 )
2023-01-18 10:36:17 +01:00
Erlend E. Aasland
206f05a46b
gh-100668: Clarify how sqlite3 maps parameters onto placeholders ( #100960 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-01-14 23:58:06 +01:00
Semen Zhydenko
35650f2538
Fix typos in Doc folder ( #100880 )
2023-01-10 11:04:06 +02:00
Erlend E. Aasland
b7a68ab824
gh-99953: Purge mention of numeric param style from sqlite3 docs ( #100630 )
...
The PEP-249 numeric style has never been supported by sqlite3.
2023-01-01 23:26:23 +01:00
Stanley
286e3c76a9
gh-99087: Add missing newline for prompts in docs (GH-98993)
...
Add newline for prompts so copying to REPL does not cause errors.
2022-12-08 19:31:19 -08:00
Jia Junjie
41d4ac9da3
gh-96250: Improve sqlite3 injection attack example ( #99270 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-12-08 21:37:08 +01:00
C.A.M. Gerlach
d460c8ec52
Doc: Add summary line to isolation_level & autocommit sqlite3.connect params ( #99917 )
...
Add summary lines to isolation_level and autocommit connect() params
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2022-12-01 08:19:41 +01:00
Géry Ogam
19c38801ba
gh-99824: Document that sqlite3.connect implicitly open a transaction if autocommit=False ( #99825 )
...
Authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-11-30 12:33:50 +01:00
Erlend E. Aasland
276643e207
Docs: both sqlite3 "point examples" now adapt to str ( #99823 )
2022-11-27 22:08:30 +01:00
Erlend E. Aasland
8749121b07
gh-96168: Add sqlite3 row factory how-to ( #99507 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-11-25 14:07:28 +01:00
Erlend E. Aasland
c95f554a40
gh-83638: Add sqlite3.Connection.autocommit for PEP 249 compliant behaviour ( #93823 )
...
Introduce the autocommit attribute to Connection and the autocommit
parameter to connect() for PEP 249-compliant transaction handling.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2022-11-12 23:44:41 +01:00
naglis
dfc1b17a23
gh-99392: Fix sqlite3 converter recipes ( #99393 )
2022-11-12 20:39:37 +01:00
Erlend E. Aasland
e02f1e2df9
Docs: add argument spec to sqlite3 CLI docs ( #99200 )
2022-11-07 14:18:36 +01:00
Nick Pope
016c7d37b6
Docs: add `named` to the list of styles in the sqlite3.paramstyle attr docs ( #99078 )
2022-11-04 00:21:01 +01:00
Erlend E. Aasland
365852a03a
gh-98716: Revert gh-96081: Escape lone stars in sqlite3 docs ( #98720 )
2022-10-26 16:53:46 +02:00
Jia Junjie
4b83cd0b22
gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs ( #97662 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-05 10:47:54 +02:00
Erlend E. Aasland
16c33a9676
gh-96810: Clarify for which statements sqlite3 implicitly opens transactions ( #96832 )
2022-09-15 23:11:52 +02:00
Erlend E. Aasland
49cceeb5c9
gh-96702: Order methods before attrs in sqlite3.Connection docs ( #96703 )
2022-09-13 10:28:57 +02:00
Erlend E. Aasland
9e55685782
Docs: alphabetically order sqlite3.Cursor attrs ( #96565 )
2022-09-04 23:34:45 +02:00
Erlend E. Aasland
91f40f3f78
gh-96168: Improve sqlite3 dict_factory example ( #96457 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-09-01 23:47:59 +02:00
Erlend E. Aasland
f7e7bf161a
gh-96414: Inline code examples in sqlite3 docs ( #96442 )
2022-08-31 07:54:54 +02:00
Erlend E. Aasland
7b01ce7953
Docs: normalise sqlite3 placeholder how-to heading ( #96413 )
2022-08-30 22:44:14 +02:00
Erlend E. Aasland
6d403e264a
Docs: normalize SQL style in sqlite3 docs ( #96403 )
2022-08-30 00:50:42 +02:00
Erlend E. Aasland
bf9259776d
gh-95432: Add doctests for the sqlite3 docs ( #96225 )
...
As a consequence of the added test, this commit also includes
fixes for broken examples.
- Add separate namespace for trace tests bco. module level callback
- Move more backup and cursor examples under separate namespaces
2022-08-29 10:52:39 +02:00
C.A.M. Gerlach
6bda5b85b5
gh-94635: Frame sqlite3 how-to headings as such & move default adapters to reference ( #96136 )
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-24 09:14:14 +02:00
C.A.M. Gerlach
d6259c58cb
gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants ( #96134 )
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-23 08:51:20 +02:00
Erlend E. Aasland
04c73e5efb
gh-95432: Add doctest for sqlite3 tutorial ( #96193 )
2022-08-23 08:48:13 +02:00
Erlend E. Aasland
18b1782192
gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc ( #96122 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-22 10:03:24 +02:00
Erlend E. Aasland
ee9f22d346
Docs: Fix markup of module name in sqlite3 docs ( #96115 )
2022-08-19 10:18:08 +02:00
C.A.M. Gerlach
303ef0913e
Doc: Use consistent markup for example Point class in sqlite3 ( #96095 )
2022-08-19 09:41:16 +02:00
Erlend E. Aasland
1a140af40b
Docs: group sqlite3.Connection attributes and methods ( #96090 )
2022-08-19 09:30:41 +02:00
Erlend E. Aasland
ede771cdf9
gh-94635: Remove sqlite3 doc introduction heading ( #96089 )
2022-08-19 09:21:11 +02:00
Erlend E. Aasland
91afe66707
Docs: Escape lone stars in sqlite3 docs ( #96081 )
2022-08-18 20:39:36 +02:00
Erlend E. Aasland
c87ea10fc9
gh-95271: Rework sqlite3 tutorial ( #95749 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-18 20:36:20 +02:00
Erlend E. Aasland
e6623e7083
gh-95273: Improve sqlite3.complete_statement docs ( #95840 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-12 01:05:12 +02:00
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