["set search_path to _global,public","0E0","data"] ["select count(*) from pg_tables where tablename = '_general' and schemaname = '_global'",[["1"]],"data"] ["select version from _global._general limit 1",[["0.009"]],"data"] ["set lc_messages to \"C\";","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["set search_path to tester,public","0E0","data"] [" select id from _roles where name = 'Admin' and password = '5f4dcc3b5aa765d61d8327deb882cf99' limit 1; ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select name from _actions ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["0"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[],"data"] [" create table \"Carrie\" (id serial primary key , \"title\" text , \"url\" text , \"num\" integer ); grant select on table \"Carrie\" to anonymous; comment on table \"Carrie\" is '我的书签'; comment on column \"Carrie\".id is 'ID';comment on column \"Carrie\".\"title\" is '标题';comment on column \"Carrie\".\"url\" is '网址';comment on column \"Carrie\".\"num\" is 'num';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select count(*) from \"Carrie\" ",[["0"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select a.attname as name from pg_catalog.pg_attribute a where a.attnum > 0 and not a.attisdropped and a.attname <> 'id' and a.attrelid = (select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relname ='Carrie' and n.nspname = 'tester') order by a.attnum ",[["title"],["url"],["num"]],"data"] ["insert into \"Carrie\" (\"num\", \"url\", \"title\") values ('10', 'http://www.carriezh.cn/', 'hello carrie');\n",1,"data"] ["select max(id) from \"Carrie\"",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select count(*) from \"Carrie\" ",[["1"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select a.attname as name from pg_catalog.pg_attribute a where a.attnum > 0 and not a.attisdropped and a.attname <> 'id' and a.attrelid = (select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relname ='Carrie' and n.nspname = 'tester') order by a.attnum ",[["title"],["url"],["num"]],"data"] ["insert into \"Carrie\" (\"num\", \"url\", \"title\") values ('1', 'http://zhangxiaojue.cn', 'second');\n",1,"data"] ["select max(id) from \"Carrie\"",[["2"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select count(*) from _actions",[["0"]],"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" insert into _actions (name, definition, description, compiled) values('Query', 'select * from Carrie where title = ''hello carrie'' and num=10; select * from Carrie where title = ''hello carrie'' and num=10;', NULL, E'[{},[[[\"select * from \\\\\"Carrie\\\\\" where (\\\\\"title\\\\\" = ''hello carrie'' and \\\\\"num\\\\\" = 10)\"]],[[\"select * from \\\\\"Carrie\\\\\" where (\\\\\"title\\\\\" = ''hello carrie'' and \\\\\"num\\\\\" = 10)\"]]]]'); ",1,"data"] ["select max(id) from \"_actions\"",[["1"]],"data"] ["","","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{},[[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]],[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]]]]"]],"data"] ["select * from \"Carrie\" where (\"title\" = 'hello carrie' and \"num\" = 10)",[{"num":"10","url":"http://www.carriezh.cn/","id":"1","title":"hello carrie"}],"data"] ["select * from \"Carrie\" where (\"title\" = 'hello carrie' and \"num\" = 10)",[{"num":"10","url":"http://www.carriezh.cn/","id":"1","title":"hello carrie"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{},[[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]],[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{},[[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]],[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('num', 'literal', NULL, NULL, false, '1'); update _actions set compiled = E'[{\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"}},[[[\"select * from \\\\\"Carrie\\\\\" where (\\\\\"title\\\\\" = ''hello carrie'' and \\\\\"num\\\\\" = 10)\"]],[[\"select * from \\\\\"Carrie\\\\\" where (\\\\\"title\\\\\" = ''hello carrie'' and \\\\\"num\\\\\" = 10)\"]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"}},[[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]],[[\"select * from \\\"Carrie\\\" where (\\\"title\\\" = 'hello carrie' and \\\"num\\\" = 10)\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" update _actions set compiled = E'[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\\\"title\\\\\" from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\\\"url\\\\\" from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]]]]', definition = 'select title from Carrie where num = $num; select url from Carrie where num = $num' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] ["select \"title\" from \"Carrie\" where \"num\" = '10'",[{"title":"hello carrie"}],"data"] ["select \"url\" from \"Carrie\" where \"num\" = '10'",[{"url":"http://www.carriezh.cn/"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] ["select \"title\" from \"Carrie\" where \"num\" = '1'",[{"title":"second"}],"data"] ["select \"url\" from \"Carrie\" where \"num\" = '1'",[{"url":"http://zhangxiaojue.cn"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'BlahBlah' limit 1 ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" limit 200;\n",[{"num":"10","url":"http://www.carriezh.cn/","id":"1","title":"hello carrie"},{"num":"1","url":"http://zhangxiaojue.cn","id":"2","title":"second"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] ["update _action_params\nset default_value = '5'\nwhere action_id = '1' and name = 'num';\n update _actions set compiled = E'[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"}},[[[\"select \\\\\"title\\\\\" from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\\\"url\\\\\" from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]]]]' where id = '1' ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"}},[[[\"select \\\"title\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]],[[\"select \\\"url\\\" from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" update _actions set compiled = E'[{\"num\":{\"default_value\":\"5\",\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"update \\\\\"Carrie\\\\\" set \\\\\"num\\\\\" = \",[\"num\",\"unknown\"],\" where (\\\\\"num\\\\\" = 10 or \\\\\"num\\\\\" = 1)\"]]]]', definition = 'update Carrie set num=$num where num=10 or num=1' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \\\"num\\\" = \",[\"num\",\"unknown\"],\" where (\\\"num\\\" = 10 or \\\"num\\\" = 1)\"]]]]"]],"data"] ["update \"Carrie\" set \"num\" = '5' where (\"num\" = 10 or \"num\" = 1)",2,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" limit 200;\n",[{"num":"5","url":"http://www.carriezh.cn/","id":"1","title":"hello carrie"},{"num":"5","url":"http://zhangxiaojue.cn","id":"2","title":"second"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \\\"num\\\" = \",[\"num\",\"unknown\"],\" where (\\\"num\\\" = 10 or \\\"num\\\" = 1)\"]]]]"]],"data"] ["update \"Carrie\" set \"num\" = '5' where (\"num\" = 10 or \"num\" = 1)","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \\\"num\\\" = \",[\"num\",\"unknown\"],\" where (\\\"num\\\" = 10 or \\\"num\\\" = 1)\"]]]]"]],"data"] ["update \"Carrie\" set \"num\" = '7' where (\"num\" = 10 or \"num\" = 1)","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \\\"num\\\" = \",[\"num\",\"unknown\"],\" where (\\\"num\\\" = 10 or \\\"num\\\" = 1)\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('col', 'symbol', NULL, NULL, false, '1'); update _actions set compiled = E'[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"}},[[[\"update \\\\\"Carrie\\\\\" set \\\\\"num\\\\\" = \",[\"num\",\"unknown\"],\" where (\\\\\"num\\\\\" = 10 or \\\\\"num\\\\\" = 1)\"]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"}},[[[\"update \\\"Carrie\\\" set \\\"num\\\" = \",[\"num\",\"unknown\"],\" where (\\\"num\\\" = 10 or \\\"num\\\" = 1)\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" update _actions set compiled = E'[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\\\"Carrie\\\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\\\"id\\\\\" = 1\"]],[[\"update \\\\\"Carrie\\\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\\\"id\\\\\" = 2\"]]]]', definition = 'update Carrie set $col=7 where id=1; update Carrie set $col=8 where id=2' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] ["update \"Carrie\" set \"num\" = 7 where \"id\" = 1",1,"data"] ["update \"Carrie\" set \"num\" = 8 where \"id\" = 2",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] ["update \"Carrie\" set \"num\" = 7 where \"id\" = 1",1,"data"] ["update \"Carrie\" set \"num\" = 8 where \"id\" = 2",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" limit 200;\n",[{"num":"7","url":"http://www.carriezh.cn/","id":"1","title":"hello carrie"},{"num":"8","url":"http://zhangxiaojue.cn","id":"2","title":"second"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null}},[[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 7 where \\\"id\\\" = 1\"]],[[\"update \\\"Carrie\\\" set \",[\"col\",\"symbol\"],\" = 8 where \\\"id\\\" = 2\"]]]]"]],"data"] [" update _actions set compiled = '[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"}},[[[\"select 0\"]]]]', definition = 'select 0' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"default_value\":\"5\",\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"}},[[[\"select 0\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" delete from _action_params where action_id = '1'; update _actions set compiled = '[{},[[[\"select 0\"]]]]' where name = 'Query' ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{},[[[\"select 0\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" select name, type, label, default_value from _action_params where action_id = '1' order by id ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{},[[[\"select 0\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('dir', 'keyword', NULL, NULL, false, '1'); update _actions set compiled = '[{\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"}},[[[\"select 0\"]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"}},[[[\"select 0\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" update _actions set compiled = E'[{\"dir\":{\"used\":1,\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"select \\\\\"id\\\\\" from \\\\\"Carrie\\\\\" order by \\\\\"id\\\\\" \",[\"dir\",\"keyword\"]]]]]', definition = 'select id from Carrie order by id $dir' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"dir\":{\"used\":1,\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"select \\\"id\\\" from \\\"Carrie\\\" order by \\\"id\\\" \",[\"dir\",\"keyword\"]]]]]"]],"data"] ["select \"id\" from \"Carrie\" order by \"id\" asc",[{"id":"1"},{"id":"2"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"dir\":{\"used\":1,\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"select \\\"id\\\" from \\\"Carrie\\\" order by \\\"id\\\" \",[\"dir\",\"keyword\"]]]]]"]],"data"] ["select \"id\" from \"Carrie\" order by \"id\" desc",[{"id":"2"},{"id":"1"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"dir\":{\"used\":1,\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"select \\\"id\\\" from \\\"Carrie\\\" order by \\\"id\\\" \",[\"dir\",\"keyword\"]]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"dir\":{\"used\":1,\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"select \\\"id\\\" from \\\"Carrie\\\" order by \\\"id\\\" \",[\"dir\",\"keyword\"]]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('num', 'literal', NULL, NULL, false, '1'); update _actions set compiled = E'[{\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"used\":1,\"label\":null,\"type\":\"keyword\"}},[[[\"select \\\\\"id\\\\\" from \\\\\"Carrie\\\\\" order by \\\\\"id\\\\\" \",[\"dir\",\"keyword\"]]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"used\":1,\"label\":null,\"type\":\"keyword\"}},[[[\"select \\\"id\\\" from \\\"Carrie\\\" order by \\\"id\\\" \",[\"dir\",\"keyword\"]]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" update _actions set compiled = E'[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"delete from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]]]]', definition = 'delete from Carrie\n where num = $num;;' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"delete from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] ["delete from \"Carrie\" where \"num\" = '7'",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" limit 200;\n",[{"num":"8","url":"http://zhangxiaojue.cn","id":"2","title":"second"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"delete from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('Yahoo', 'literal', NULL, NULL, false, '1'); update _actions set compiled = E'[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"}},[[[\"delete from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"}},[[[\"delete from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"}},[[[\"delete from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('Google', 'literal', NULL, NULL, false, '1'); update _actions set compiled = E'[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"delete from \\\\\"Carrie\\\\\" where \\\\\"num\\\\\" = \",[\"num\",\"unknown\"]]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"used\":1,\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[[\"delete from \\\"Carrie\\\" where \\\"num\\\" = \",[\"num\",\"unknown\"]]]]]"]],"data"] [" update _actions set compiled = E'[{\"Yahoo\":{\"used\":1,\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"used\":1,\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"POST\",[\"/=/model/Carrie/~/~\"],[\"[{\\\\\"num\\\\\": 5, \\\\\"url\\\\\": \\\\\"yahoo.cn\\\\\", \\\\\"title\\\\\": \",[\"Yahoo\",\"literal\"],\"}, {\\\\\"num\\\\\": 6, \\\\\"url\\\\\": \\\\\"google.com\\\\\", \\\\\"title\\\\\": \",[\"Google\",\"literal\"],\"}]\"]]]]', definition = 'POST ''/=/model/Carrie'' || ''/~/~'' [{num: 5, url: ''yahoo.cn'', title: $Yahoo}, {''num'': 6, url: ''google'' || ''.com'', \"title\": $Google}]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"used\":1,\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"used\":1,\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"POST\",[\"/=/model/Carrie/~/~\"],[\"[{\\\"num\\\": 5, \\\"url\\\": \\\"yahoo.cn\\\", \\\"title\\\": \",[\"Yahoo\",\"literal\"],\"}, {\\\"num\\\": 6, \\\"url\\\": \\\"google.com\\\", \\\"title\\\": \",[\"Google\",\"literal\"],\"}]\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select count(*) from \"Carrie\" ",[["1"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select a.attname as name from pg_catalog.pg_attribute a where a.attnum > 0 and not a.attisdropped and a.attname <> 'id' and a.attrelid = (select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relname ='Carrie' and n.nspname = 'tester') order by a.attnum ",[["title"],["url"],["num"]],"data"] ["insert into \"Carrie\" (\"num\", \"url\", \"title\") values ('5', 'yahoo.cn', 'Yahoo');\ninsert into \"Carrie\" (\"num\", \"url\", \"title\") values ('6', 'google.com', 'Google');\n",1,"data"] ["select max(id) from \"Carrie\"",[["4"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"used\":1,\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"used\":1,\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"POST\",[\"/=/model/Carrie/~/~\"],[\"[{\\\"num\\\": 5, \\\"url\\\": \\\"yahoo.cn\\\", \\\"title\\\": \",[\"Yahoo\",\"literal\"],\"}, {\\\"num\\\": 6, \\\"url\\\": \\\"google.com\\\", \\\"title\\\": \",[\"Google\",\"literal\"],\"}]\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('col', 'symbol', NULL, NULL, false, '1'); update _actions set compiled = E'[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"used\":1,\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"Google\":{\"name\":\"Google\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"POST\",[\"/=/model/Carrie/~/~\"],[\"[{\\\\\"num\\\\\": 5, \\\\\"url\\\\\": \\\\\"yahoo.cn\\\\\", \\\\\"title\\\\\": \",[\"Yahoo\",\"literal\"],\"}, {\\\\\"num\\\\\": 6, \\\\\"url\\\\\": \\\\\"google.com\\\\\", \\\\\"title\\\\\": \",[\"Google\",\"literal\"],\"}]\"]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"used\":1,\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"Google\":{\"name\":\"Google\",\"used\":1,\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"POST\",[\"/=/model/Carrie/~/~\"],[\"[{\\\"num\\\": 5, \\\"url\\\": \\\"yahoo.cn\\\", \\\"title\\\": \",[\"Yahoo\",\"literal\"],\"}, {\\\"num\\\": 6, \\\"url\\\": \\\"google.com\\\", \\\"title\\\": \",[\"Google\",\"literal\"],\"}]\"]]]]"]],"data"] [" update _actions set compiled = '[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/4\"]],[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/3\"]],[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/2\"]]]]', definition = 'GET ''/=/model/Carrie'' || ''/'' || $col || ''/4''; GET ''/=/model/Carrie/'' || $col || ''/3'';\n GET ''/=/model/Carrie/'' || $col || ''/2'';' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/4\"]],[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/3\"]],[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/2\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" where \"id\" = '4' limit 200;\n",[{"num":"6","url":"google.com","id":"4","title":"Google"}],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" where \"id\" = '3' limit 200;\n",[{"num":"5","url":"yahoo.cn","id":"3","title":"Yahoo"}],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" where \"id\" = '2' limit 200;\n",[{"num":"8","url":"http://zhangxiaojue.cn","id":"2","title":"second"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"used\":1,\"name\":\"col\",\"type\":\"symbol\",\"label\":null},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/4\"]],[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/3\"]],[\"GET\",[\"/=/model/Carrie/\",[\"col\",\"quoted\"],\"/2\"]]]]"]],"data"] [" update _actions set compiled = '[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/id/4\"]],[\"GET\",[\"/=/blah/blah\"]],[\"GET\",[\"/=/model\"]]]]', definition = 'GET ''/=/model/Carrie'' || ''/id/4''; GET ''/=/blah/blah''; GET ''/=/model'';' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/id/4\"]],[\"GET\",[\"/=/blah/blah\"]],[\"GET\",[\"/=/model\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" where \"id\" = '4' limit 200;\n",[{"num":"6","url":"google.com","id":"4","title":"Google"}],"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[{"name":"Carrie","description":"我的书签"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/id/4\"]],[\"GET\",[\"/=/blah/blah\"]],[\"GET\",[\"/=/model\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" where \"id\" = '4' limit 200;\n",[{"num":"6","url":"google.com","id":"4","title":"Google"}],"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[{"name":"Carrie","description":"我的书签"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/id/4\"]],[\"GET\",[\"/=/blah/blah\"]],[\"GET\",[\"/=/model\"]]]]"]],"data"] [" select id from _actions where name = 'Query' ",[["1"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('model', 'symbol', NULL, NULL, false, '1'); update _actions set compiled = '[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"name\":\"col\",\"type\":\"symbol\",\"label\":null},\"model\":{\"name\":\"model\",\"label\":null,\"type\":\"symbol\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/id/4\"]],[\"GET\",[\"/=/blah/blah\"]],[\"GET\",[\"/=/model\"]]]]' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"Yahoo\":{\"name\":\"Yahoo\",\"label\":null,\"type\":\"literal\"},\"num\":{\"name\":\"num\",\"label\":null,\"type\":\"literal\"},\"col\":{\"name\":\"col\",\"type\":\"symbol\",\"label\":null},\"model\":{\"name\":\"model\",\"label\":null,\"type\":\"symbol\"},\"dir\":{\"name\":\"dir\",\"label\":null,\"type\":\"keyword\"},\"Google\":{\"name\":\"Google\",\"type\":\"literal\",\"label\":null}},[[\"GET\",[\"/=/model/Carrie/id/4\"]],[\"GET\",[\"/=/blah/blah\"]],[\"GET\",[\"/=/model\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" update _actions set compiled = E'[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"model\":{\"used\":1,\"name\":\"model\",\"type\":\"symbol\",\"label\":null},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"DELETE\",[\"/=/model/\",[\"model\",\"quoted\"],\"/id/4\"]],[\"GET\",[\"/=/model/\",[\"model\",\"quoted\"],\"/~/~\"]],[[\"delete from \\\\\"Carrie\\\\\" where \\\\\"id\\\\\" = 3\"]],[\"GET\",[\"/=/model/\",[\"model\",\"quoted\"],\"/~/~\"]]]]', definition = 'DELETE ''/=/model/''||$model|| ''/id/4'';\n GET (''/=/model/''||$model||''/~/~'') ; delete from Carrie where id = 3\n ;GET ''/=/'' || (''model/'' || $model ||''/~/~'')' where name = 'Query'; ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query' limit 1; ",[["[{\"num\":{\"name\":\"num\",\"type\":\"literal\",\"label\":null},\"Yahoo\":{\"name\":\"Yahoo\",\"type\":\"literal\",\"label\":null},\"col\":{\"name\":\"col\",\"label\":null,\"type\":\"symbol\"},\"model\":{\"used\":1,\"name\":\"model\",\"type\":\"symbol\",\"label\":null},\"Google\":{\"name\":\"Google\",\"label\":null,\"type\":\"literal\"},\"dir\":{\"name\":\"dir\",\"type\":\"keyword\",\"label\":null}},[[\"DELETE\",[\"/=/model/\",[\"model\",\"quoted\"],\"/id/4\"]],[\"GET\",[\"/=/model/\",[\"model\",\"quoted\"],\"/~/~\"]],[[\"delete from \\\"Carrie\\\" where \\\"id\\\" = 3\"]],[\"GET\",[\"/=/model/\",[\"model\",\"quoted\"],\"/~/~\"]]]]"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" delete from \"Carrie\" where \"id\" = '4' ",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" limit 200;\n",[{"num":"8","url":"http://zhangxiaojue.cn","id":"2","title":"second"},{"num":"5","url":"yahoo.cn","id":"3","title":"Yahoo"}],"data"] ["delete from \"Carrie\" where \"id\" = 3",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] ["select * from \"Carrie\" limit 200;\n",[{"num":"8","url":"http://zhangxiaojue.cn","id":"2","title":"second"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select count(*) from _actions",[["1"]],"data"] [" select compiled from _actions where name = 'Query2' limit 1; ",[],"data"] [" insert into _actions (name, definition, description, compiled) values('Query2', 'DELETE ''/=/model?_user='' || $user || ''&_password='' || $pass;\nPOST ''/=/model/Another'' {\"description\":\"a model in another account\"};\n GET ''/=/model'';\n GET ''/=/model?_user=tester2&_password=6cb75f652a9b52798eb6cf2201057c73''', NULL, E'[{\"pass\":{\"default_value\":null,\"used\":1,\"name\":\"pass\",\"label\":null,\"type\":\"literal\"},\"user\":{\"default_value\":null,\"used\":1,\"name\":\"user\",\"label\":null,\"type\":\"literal\"}},[[\"DELETE\",[\"/=/model?_user=\",[\"user\",\"quoted\"],\"&_password=\",[\"pass\",\"quoted\"]]],[\"POST\",[\"/=/model/Another\"],[\"{\\\\\"description\\\\\": \\\\\"a model in another account\\\\\"}\"]],[\"GET\",[\"/=/model\"]],[\"GET\",[\"/=/model?_user=tester2&_password=6cb75f652a9b52798eb6cf2201057c73\"]]]]'); ",1,"data"] ["select max(id) from \"_actions\"",[["2"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('pass', 'literal', NULL, NULL, true, '2'); insert into _action_params (name, type, label, default_value, used, action_id) values ('user', 'literal', NULL, NULL, true, '2'); ",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select compiled from _actions where name = 'Query2' limit 1; ",[["[{\"pass\":{\"default_value\":null,\"used\":1,\"name\":\"pass\",\"label\":null,\"type\":\"literal\"},\"user\":{\"default_value\":null,\"used\":1,\"name\":\"user\",\"label\":null,\"type\":\"literal\"}},[[\"DELETE\",[\"/=/model?_user=\",[\"user\",\"quoted\"],\"&_password=\",[\"pass\",\"quoted\"]]],[\"POST\",[\"/=/model/Another\"],[\"{\\\"description\\\": \\\"a model in another account\\\"}\"]],[\"GET\",[\"/=/model\"]],[\"GET\",[\"/=/model?_user=tester2&_password=6cb75f652a9b52798eb6cf2201057c73\"]]]]"]],"data"] ["select nspname from pg_namespace where nspname = 'tester2' limit 1;\n",1,"data"] ["set search_path to tester2,public","0E0","data"] [" select id from _roles where name = 'Admin' and password = '6cb75f652a9b52798eb6cf2201057c73' limit 1; ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester2' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester2' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[],"data"] ["set search_path to tester,public","0E0","data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["1"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Another' limit 1 ",[],"data"] [" create table \"Another\" (id serial primary key ); grant select on table \"Another\" to anonymous; comment on table \"Another\" is 'a model in another account'; comment on column \"Another\".id is 'ID';","0E0","data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[{"name":"Carrie","description":"我的书签"},{"name":"Another","description":"a model in another account"}],"data"] ["select nspname from pg_namespace where nspname = 'tester2' limit 1;\n",1,"data"] ["set search_path to tester2,public","0E0","data"] [" select id from _roles where name = 'Admin' and password = '6cb75f652a9b52798eb6cf2201057c73' limit 1; ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester2' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester2' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[],"data"] ["select nspname from pg_namespace where nspname = 'tester2' limit 1;\n",1,"data"] [" select id from _roles where name = 'Admin' and password = '6cb75f652a9b52798eb6cf2201057c73' limit 1; ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester2' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester2' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["set search_path to tester,public","0E0","data"] [" select id from _roles where name = 'Admin' and password = '5f4dcc3b5aa765d61d8327deb882cf99' limit 1; ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[{"name":"Carrie","description":"我的书签"},{"name":"Another","description":"a model in another account"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select count(*) from _actions",[["2"]],"data"] [" select compiled from _actions where name = 'NewComment' limit 1; ",[],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Carrie' limit 1 ",[["942687"]],"data"] [" insert into _actions (name, definition, description, compiled) values('NewComment', 'POST ''/=/model/Comment/~/~'' { sender: $sender, email: $email, url: $url, body: $body, post: $post_id }; update Carrie set num = num + 1 where id = $post_id;', 'New comment', E'[{\"body\":{\"default_value\":null,\"used\":1,\"name\":\"body\",\"label\":null,\"type\":\"literal\"},\"email\":{\"default_value\":null,\"used\":1,\"name\":\"email\",\"label\":null,\"type\":\"literal\"},\"sender\":{\"default_value\":null,\"used\":1,\"name\":\"sender\",\"label\":null,\"type\":\"literal\"},\"post_id\":{\"default_value\":null,\"used\":1,\"name\":\"post_id\",\"label\":null,\"type\":\"literal\"},\"url\":{\"default_value\":null,\"used\":1,\"name\":\"url\",\"label\":null,\"type\":\"literal\"}},[[\"POST\",[\"/=/model/Comment/~/~\"],[\"{\\\\\"sender\\\\\": \",[\"sender\",\"literal\"],\", \\\\\"email\\\\\": \",[\"email\",\"literal\"],\", \\\\\"url\\\\\": \",[\"url\",\"literal\"],\", \\\\\"body\\\\\": \",[\"body\",\"literal\"],\", \\\\\"post\\\\\": \",[\"post_id\",\"literal\"],\"}\"]],[[\"update \\\\\"Carrie\\\\\" set \\\\\"num\\\\\" = (\\\\\"num\\\\\" + 1) where \\\\\"id\\\\\" = \",[\"post_id\",\"unknown\"]]]]]'); ",1,"data"] ["select max(id) from \"_actions\"",[["3"]],"data"] [" insert into _action_params (name, type, label, default_value, used, action_id) values ('body', 'literal', NULL, NULL, true, '3'); insert into _action_params (name, type, label, default_value, used, action_id) values ('email', 'literal', NULL, NULL, true, '3'); insert into _action_params (name, type, label, default_value, used, action_id) values ('sender', 'literal', NULL, NULL, true, '3'); insert into _action_params (name, type, label, default_value, used, action_id) values ('post_id', 'literal', NULL, NULL, true, '3'); insert into _action_params (name, type, label, default_value, used, action_id) values ('url', 'literal', NULL, NULL, true, '3'); ",1,"data"]