Files
Steve Shi 765933136c Implement Sqlite3 Module (#4260)
* add supporting for PyAtomic<PyObject>

* create sqlite module

* add dependency sqlite3-sys

* add module constants

* import sqlite3 from cpython

* adjust lib

* add module structure

* impl Connection.cursor

* add module exceptions

* impl lstrip_sql

* impl statement new

* wip cursor.execute

* wip cursor

* wip error to exception

* add SqliteRaw and SqliteStatementRaw

* impl statement parameters binding

* wip cursor.execute

* add test_sqlite

* impl closeable connection

* impl closeable cursor

* impl cursor.executemany

* impl cursor.executescript

* impl cursor.fetch*

* impl connection.backup

* stage 1

* add support connection.backup with progress

* fix backup deadlock

* support changable isolation_level

* impl converter

* impl adapter

* impl text_factory and blob

* impl create_function

* impl create_function 2

* fix empty statement

* impl blob support

* impl create_aggregate

* impl create_aggregate 2

* refactor create_*

* impl enable_callback_traceback

* impl create_collation

* refactor create_* with CallbackData

* fix text and blob use SQLITE_TRANSIENT

* fix str to SQLITE_TEXT

* impl thread check

* impl Connection Factory

* impl busy timeout

* shift sqlite3-sys -> libsqlite3-sys

* refactor CallbackData

* impl create_window_function

* refactor callback functions

* add module attr converters

* fix nullable isolation_level

* add module attr adapters

* fix nullable adapt proto

* impl set_authorizer

* impl trace_callback

* impl set_progress_handler

* impl cancellable sqlite function*

* impl attributes for Connection

* fix some failed tests

* impl Row

* impl Blob methods

* impl Blob subscript & ass_subscript

* pass tests

* rebase

* no sqlite for wasm

* use ThreadId instead u64

* no libsqlite3-sys for wasm

* fix into_cstring for all platform

* fixup

* rebase

* fix windows into_bytes

* disable sqlite for android

* fixup
2023-01-07 22:03:24 +02:00
..
2022-12-25 13:29:33 +09:00
2020-01-04 16:30:02 +02:00
2022-04-23 08:06:17 +09:00
2022-07-14 00:31:40 +09:00
2022-07-14 00:31:40 +09:00
2021-02-19 13:38:57 -05:00
2021-02-19 13:38:57 -05:00
2021-02-19 13:38:57 -05:00
2021-02-20 20:37:25 -05:00
2021-02-20 20:37:25 -05:00
2022-02-13 17:56:08 -05:00
2020-11-12 11:30:33 +09:00
2021-04-18 14:44:36 -04:00
2022-10-18 03:26:29 +09:00
2022-02-13 17:56:08 -05:00
2021-02-25 22:50:48 -05:00
2021-02-25 22:50:48 -05:00
2021-02-25 22:50:48 -05:00
2021-04-21 11:17:00 +02:00
2019-12-30 21:31:36 +02:00
2022-02-12 20:48:57 -05:00
2022-01-25 23:31:23 +09:00
2022-12-30 22:46:31 +09:00
2022-04-21 09:49:17 +02:00
2022-02-13 17:56:08 -05:00
2021-10-10 19:11:23 -04:00
2022-07-18 04:07:35 +09:00
2021-11-28 20:51:32 +08:00
2021-11-28 20:51:32 +08:00
2022-12-28 22:18:21 +09:00
2021-11-28 20:51:32 +08:00
2021-10-10 19:11:23 -04:00
2021-11-28 20:51:32 +08:00
2021-11-28 20:51:32 +08:00
2022-07-18 04:07:35 +09:00
2022-08-13 08:39:58 +09:00
2021-11-29 21:03:02 +08:00
2021-11-29 21:03:02 +08:00
2022-07-24 19:47:31 +09:00
2020-01-26 01:18:51 +09:00
2022-04-27 22:56:24 -04:00
2022-01-29 20:17:36 -05:00
2021-11-28 20:51:32 +08:00
2021-11-28 20:51:32 +08:00
2021-11-29 21:03:02 +08:00
2022-07-16 21:28:01 +09:00
2022-07-18 22:52:26 +09:00
2021-02-16 21:57:50 -05:00
2022-07-25 04:10:59 +09:00
2022-10-16 14:46:23 +09:00
2021-11-20 20:56:26 +09:00
2022-10-04 13:34:09 +02:00
2022-10-16 11:59:05 +09:00
2022-12-30 22:46:31 +09:00
2022-09-18 06:49:37 +09:00
2021-11-28 20:51:32 +08:00
2022-08-15 05:25:42 +09:00
2022-07-13 17:02:17 +09:00
2022-08-04 15:44:40 +09:00
2022-08-15 05:25:42 +09:00
2021-02-21 18:47:55 -05:00
2022-05-30 07:36:07 +09:00
2022-06-29 18:02:57 +08:00
2023-01-02 17:37:32 +09:00
2022-10-21 15:04:25 +09:00
2021-08-07 20:24:41 +09:00
2022-12-11 10:52:59 +09:00
2022-10-26 23:44:13 -07:00
2021-05-13 19:46:17 -05:00
2021-11-28 20:51:32 +08:00
2022-08-16 10:08:03 +09:00
2022-08-15 02:36:46 +09:00
2021-04-25 12:59:12 -04:00
2022-08-15 02:36:46 +09:00
2021-01-26 10:30:09 -06:00
2022-08-15 02:36:46 +09:00
2022-07-27 14:43:47 +09:00
2022-07-25 22:07:26 +02:00
2021-11-28 23:25:17 +08:00
2022-08-15 01:08:58 +09:00
2022-06-21 22:00:08 +09:00
2021-11-29 21:03:02 +08:00
2022-08-15 04:24:50 +09:00
2022-08-15 01:08:58 +09:00
2022-07-24 15:50:21 +09:00
2021-11-28 20:51:32 +08:00
2021-11-28 20:51:32 +08:00
2021-11-20 18:59:59 +09:00
2022-10-18 03:26:29 +09:00
2022-08-15 01:08:58 +09:00
2022-08-15 01:08:58 +09:00
2022-04-16 00:00:31 +09:00
2021-05-13 20:09:23 -04:00
2022-10-04 13:34:09 +02:00
2022-10-26 21:15:24 +02:00
2022-12-24 14:38:44 +09:00
2021-05-16 13:50:34 -04:00
2022-04-26 22:26:38 -04:00
2022-08-20 22:58:58 +09:00
2021-11-29 21:03:02 +08:00
2022-08-15 00:34:06 +09:00
2022-08-14 23:08:08 +09:00
2023-01-05 18:52:11 +09:00
2022-08-15 00:34:06 +09:00
2022-07-25 04:10:59 +09:00
2021-08-31 23:53:05 +09:00
2023-01-03 16:26:53 +09:00
2022-07-25 04:10:59 +09:00
2021-11-28 20:51:33 +08:00
2022-03-12 21:39:42 +08:00
2022-07-19 01:35:32 +09:00
2022-07-25 04:10:59 +09:00
2021-07-12 19:51:20 -04:00
2021-07-12 20:02:14 -04:00
2022-08-09 03:53:17 +09:00
2021-05-21 19:19:34 -04:00
2021-05-21 19:19:34 -04:00