X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FQ-Branch.git;a=blobdiff_plain;f=lib%2FSQL%2FAbstract%2FReference.pm;h=257fd735ed7313bfef805798b244b4243a449108;hp=6075f4c1e45635ef521186e913cfd46b2a7263ef;hb=cf5b7ab163f8ac123ebc9bb1156e79646cd5bd2f;hpb=24479414b207dfb118a9704920191324e5da2a32 diff --git a/lib/SQL/Abstract/Reference.pm b/lib/SQL/Abstract/Reference.pm index 6075f4c..257fd73 100644 --- a/lib/SQL/Abstract/Reference.pm +++ b/lib/SQL/Abstract/Reference.pm @@ -146,7 +146,17 @@ Standard binop: bomb.status = ? [ 'unexploded' ] -Not: + +Prefix unop: + + # expr + { -op => [ '-', { -ident => 'foo' } ] } + + # query + - foo + [] + +Not as special case parenthesised unop: # expr { -op => [ 'not', { -ident => 'explosive' } ] } @@ -229,6 +239,15 @@ Comma (use -row for parens): VALUES (1, 2), (3, 4) [] +=head2 keyword + + # expr + { -keyword => 'insert_into' } + + # query + INSERT INTO + [] + =head2 statement types AQT node types are also provided for C