From f29189a3ddb3871bf7c46897b4fb76f4e8bbf65e Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 7 Dec 2023 21:22:27 -0800 Subject: [PATCH] db.supports_strict docs, closes #344 --- docs/python-api.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/python-api.rst b/docs/python-api.rst index b2356843..09b2cbbc 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -2177,6 +2177,18 @@ The ``.has_counts_triggers`` property shows if a table has been configured with >>> db["authors"].has_counts_triggers True +.. _python_api_introspection_supports_strict + +db.supports_strict +------------------ + +This property on the database object returns ``True`` if the available SQLite version supports `STRICT mode `__, which was added in SQLite 3.37.0 (on 2021-11-27). + +:: + + >>> db.supports_strict + True + .. _python_api_fts: Full-text search