SQLite.jl icon indicating copy to clipboard operation
SQLite.jl copied to clipboard

Add STRICT flag to createtable!

Open torrance opened this issue 3 years ago • 1 comments

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.

torrance avatar Mar 01 '23 02:03 torrance

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

quinnj avatar Mar 05 '23 04:03 quinnj