X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FAbstract%2FReference.pm;h=4ec6df70970606c64d573fea5e0c57f9a2a6ba04;hb=e376aa8053a377ca85e9a16205132b30436b2ce5;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..4ec6df7 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