The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
["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 name from _views ",[],"data"]
["truncate _views;","0E0","data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
["select count(*) from _views",[["0"]],"data"]
[" select id from _views where name = 'Foo' limit 1; ",[],"data"]
[" insert into _views (name, definition, description) values('Foo', 'select $_ACCOUNT as account, $_ROLE as role;', 'test builtin vars') ",1,"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select id from _views where name = 'Foo' limit 1; ",[["1"]],"data"]
["select definition from _views where name = 'Foo'",[["select $_ACCOUNT as account, $_ROLE as role;"]],"data"]
["select 'tester' as account , 'Admin' as role",[{"account":"tester","role":"Admin"}],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select id from _views where name = 'Foo' limit 1; ",[["1"]],"data"]
["select definition from _views where name = 'Foo'",[["select $_ACCOUNT as account, $_ROLE as role;"]],"data"]
["select 'tester' as account , 'Admin' as role",[{"account":"tester","role":"Admin"}],"data"]