mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-28 21:04:13 +02:00
Added missing docstring for db.supports_strict
This commit is contained in:
parent
3091e6b6e9
commit
82ea42ffee
1 changed files with 2 additions and 1 deletions
|
|
@ -524,7 +524,8 @@ class Database:
|
||||||
return "\n".join(sqls)
|
return "\n".join(sqls)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def supports_strict(self):
|
def supports_strict(self) -> bool:
|
||||||
|
"Does this database support STRICT mode?"
|
||||||
try:
|
try:
|
||||||
table_name = "t{}".format(secrets.token_hex(16))
|
table_name = "t{}".format(secrets.token_hex(16))
|
||||||
with self.conn:
|
with self.conn:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue