X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FAbstract%2FReference.pm;h=67567ccf178971f5eab3c9b4da20ca20930f0ade;hb=cc230faadb608351c7b6149b2b906687f8c23687;hp=ad27a77f99cc4601b8b1f53d2b1266db531b7124;hpb=972c9823943591e34a60c31e974c0b0923c32fec;p=scpubgit%2FQ-Branch.git diff --git a/lib/SQL/Abstract/Reference.pm b/lib/SQL/Abstract/Reference.pm index ad27a77..67567cc 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