Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add STRICT flag to createtable! #327

Open
torrance opened this issue Mar 1, 2023 · 1 comment · May be fixed by #343
Open

Add STRICT flag to createtable! #327

torrance opened this issue Mar 1, 2023 · 1 comment · May be fixed by #343

Comments

@torrance
Copy link

torrance commented Mar 1, 2023

Recent versions of SQLite have the option to set a table to STRICT, which makes SQLite:

  • require each column of the table have an explicit type
  • enforce types, rather than accepting any type during row insertion/updates

Currently createtable!() does not include the option to set STRICT as true. This issue is a feature request to add this as a boolean flag to this method.

@quinnj
Copy link
Member

quinnj commented Mar 5, 2023

Sounds like a great idea; feel free to open a PR if you're up for it!

@aplavin aplavin linked a pull request Dec 31, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants