3 ms·
It's not really dynamically typed in the sense that there isn't a schema.
by klysm 6y ago
It's not really dynamically typed in the sense that there isn't a schema.
- elnygren 6y agoHowever 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 6y 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