5 ms·
However the schema does look like type schema = { field1: any, field2: any, ... } AFAIK the column types are not really enforced and you can even leave the
by elnygren 5y ago
However the schema does look like
type schema = {
field1: any,
field2: any,
...
}
AFAIK the column types are not really enforced and you can even leave them out.
https://stackoverflow.com/questions/2489936/sqlite3s-dynamic-typing https://stackoverflow.com/questions/2489936/sqlite3s-dynamic...
- CodesInChaos 5y agoAFAIK it's even worse than that. The field types can trigger lossy transformation of the input data, but aren't enforced. https://www.sqlite.org/datatype3.html#type_affinity https://www.sqlite.org/datatype3.html#type_affinity