X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FAbstract%2FReference.pm;h=fd29f339d98e63b9261ae239c27e466893eac2e9;hb=ef42b9a699e2dc37e13870b0f7f5db38cd907c71;hp=050c944086919406a6315da4608e158bc2ae9564;hpb=edf5ac2218a5681121983b97d01e51d47b9ff168;p=scpubgit%2FQ-Branch.git diff --git a/lib/SQL/Abstract/Reference.pm b/lib/SQL/Abstract/Reference.pm index 050c944..fd29f33 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