Dev Helpers
← Back

Use a strict table

Use a strict table using SQLite.

Open this example in the interactive library

Source code

CREATE TABLE config(id INTEGER PRIMARY KEY,value TEXT) STRICT;
INSERT INTO config VALUES(1,'ready');
SELECT typeof(value) FROM config;

Sample output

[
  {
    "typeof(value)": "text"
  }
]