{ "type": "statement", "variant": "list", "statement": [ { "type": "statement", "variant": "pragma", "target": { "type": "identifier", "variant": "pragma", "name": "page_size" }, "args": { "type": "expression", "variant": "list", "expression": { "type": "literal", "variant": "decimal", "value": "1024" } } }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t1" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "a", "definition": [ { "type": "constraint", "variant": "primary key" } ], "datatype": { "type": "datatype", "variant": "integer", "affinity": "integer" } }, { "type": "definition", "variant": "column", "name": "b", "definition": [] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t1" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "1" }, { "type": "literal", "variant": "text", "value": "one" } ] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t1" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "2" }, { "type": "literal", "variant": "text", "value": "two" } ] } ] }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t2" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "x", "definition": [] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "200" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "select", "result": [ { "type": "identifier", "variant": "column", "name": "name" }, { "type": "identifier", "variant": "column", "name": "rootpage" } ], "from": { "type": "identifier", "variant": "table", "name": "sqlite_master" } }, { "type": "statement", "variant": "pragma", "target": { "type": "identifier", "variant": "pragma", "name": "secure_delete" }, "args": { "type": "expression", "variant": "list", "expression": { "type": "literal", "variant": "boolean", "normalized": "1", "value": "1" } } }, { "type": "statement", "variant": "pragma", "target": { "type": "identifier", "variant": "pragma", "name": "auto_vacuum" }, "args": { "type": "expression", "variant": "list", "expression": { "type": "literal", "variant": "boolean", "normalized": "0", "value": "0" } } }, { "type": "statement", "variant": "pragma", "target": { "type": "identifier", "variant": "pragma", "name": "page_size" }, "args": { "type": "expression", "variant": "list", "expression": { "type": "literal", "variant": "decimal", "value": "1024" } } }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t1" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "a", "definition": [ { "type": "constraint", "variant": "primary key" } ], "datatype": { "type": "datatype", "variant": "integer", "affinity": "integer" } }, { "type": "definition", "variant": "column", "name": "b", "definition": [] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t1" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "1" }, { "type": "literal", "variant": "text", "value": "one" } ] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t1" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "2" }, { "type": "literal", "variant": "text", "value": "two" } ] } ] }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t3" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "x", "definition": [] } ] }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t2" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "x", "definition": [ { "type": "constraint", "variant": "primary key" } ] } ], "optimization": [ { "type": "optimization", "value": "without rowid" } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "100" } ] } } ] } ] }, { "type": "statement", "target": { "type": "identifier", "variant": "table", "name": "t3" }, "variant": "drop", "format": "table", "condition": [] }, { "type": "statement", "variant": "select", "result": [ { "type": "identifier", "variant": "column", "name": "name" }, { "type": "identifier", "variant": "column", "name": "rootpage" } ], "from": { "type": "identifier", "variant": "table", "name": "sqlite_master" } }, { "type": "statement", "variant": "select", "result": [ { "type": "identifier", "variant": "star", "name": "*" } ], "from": { "type": "identifier", "variant": "table", "name": "t1" }, "where": [ { "type": "expression", "format": "binary", "variant": "operation", "operation": "in", "right": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "1" }, { "type": "literal", "variant": "decimal", "value": "2" } ] }, "left": { "type": "identifier", "variant": "column", "name": "a" } } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "100" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "100" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "100" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "100" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": { "type": "statement", "variant": "select", "result": [ { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "100" } ] } } ], "from": { "type": "identifier", "variant": "table", "name": "t2" } } }, { "type": "statement", "variant": "pragma", "target": { "type": "identifier", "variant": "pragma", "name": "page_size" }, "args": { "type": "expression", "variant": "list", "expression": { "type": "literal", "variant": "decimal", "value": "1024" } } }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t1" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "a", "definition": [ { "type": "constraint", "variant": "primary key" } ], "datatype": { "type": "datatype", "variant": "integer", "affinity": "integer" } }, { "type": "definition", "variant": "column", "name": "b", "definition": [] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t1" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "1" }, { "type": "literal", "variant": "text", "value": "one" } ] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t1" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "2" }, { "type": "literal", "variant": "text", "value": "two" } ] } ] }, { "type": "statement", "name": { "type": "identifier", "variant": "table", "name": "t2" }, "variant": "create", "format": "table", "definition": [ { "type": "definition", "variant": "column", "name": "c", "definition": [ { "type": "constraint", "variant": "pragma key" } ], "datatype": { "type": "datatype", "variant": "integer", "affinity": "integer" } }, { "type": "definition", "variant": "column", "name": "d", "definition": [] } ] }, { "type": "statement", "variant": "insert", "action": "insert", "into": { "type": "identifier", "variant": "table", "name": "t2" }, "result": [ { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "1" }, { "type": "function", "name": { "type": "identifier", "variant": "function", "name": "randomblob" }, "args": { "type": "expression", "variant": "list", "expression": [ { "type": "literal", "variant": "decimal", "value": "1100" } ] } } ] } ] }, { "type": "statement", "variant": "select", "result": [ { "type": "identifier", "variant": "column", "name": "name" }, { "type": "identifier", "variant": "column", "name": "rootpage" } ], "from": { "type": "identifier", "variant": "table", "name": "sqlite_master" } } ] }