Open this example in the interactive library
Source code
CREATE TABLE notes(title TEXT DEFAULT 'Draft');
INSERT INTO notes DEFAULT VALUES;
SELECT title FROM notes;
Sample output
[
{
"title": "Draft"
}
]
Open this example in the interactive library
CREATE TABLE notes(title TEXT DEFAULT 'Draft');
INSERT INTO notes DEFAULT VALUES;
SELECT title FROM notes;
[
{
"title": "Draft"
}
]