surrealpatch/sql/rdwr.gen.json
Tobie Morgan Hitchcock a569ad78d6 Improve statement read/write status detection
Only store read-write statement status in the database for statements which can be either read or write. For those statements which are always write statements (Live, Kill, Create, Update, Delete, Relate, Insert, Upsert, Define, Remove….), then hardcode this on the statement itself.
2017-11-24 12:56:53 +00:00

36 lines
1.2 KiB
JSON

[
{ "n": true, "name": "Info" },
{ "a": true, "name": "If" },
{ "a": true, "name": "Let" },
{ "a": true, "name": "Return" },
{ "y": true, "name": "Live" },
{ "y": true, "name": "Kill" },
{ "a": true, "name": "Select" },
{ "y": true, "name": "Create" },
{ "y": true, "name": "Update" },
{ "y": true, "name": "Delete" },
{ "y": true, "name": "Relate" },
{ "y": true, "name": "Insert" },
{ "y": true, "name": "Upsert" },
{ "y": true, "name": "DefineNamespace" },
{ "y": true, "name": "RemoveNamespace" },
{ "y": true, "name": "DefineDatabase" },
{ "y": true, "name": "RemoveDatabase" },
{ "y": true, "name": "DefineLogin" },
{ "y": true, "name": "RemoveLogin" },
{ "y": true, "name": "DefineToken" },
{ "y": true, "name": "RemoveToken" },
{ "y": true, "name": "DefineScope" },
{ "y": true, "name": "RemoveScope" },
{ "y": true, "name": "DefineTable" },
{ "y": true, "name": "RemoveTable" },
{ "y": true, "name": "DefineEvent" },
{ "y": true, "name": "RemoveEvent" },
{ "y": true, "name": "DefineField" },
{ "y": true, "name": "RemoveField" },
{ "y": true, "name": "DefineIndex" },
{ "y": true, "name": "RemoveIndex" }
]