C# Class Tup.Cobar4Net.Parser.Recognizer.Mysql.Syntax.MySqlDmlInsertParser

Inheritance: MySqlDmlInsertReplaceParser
Mostra file Open project: tupunco/Tup.Cobar4Net Class Usage Examples

Public Methods

Method Description
Insert ( ) : DmlInsertStatement

nothing has been pre-consumed

 'INSERT' ('LOW_PRIORITY'|'DELAYED'|'HIGH_PRIORITY')? 'IGNORE'? 'INTO'? tbname (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (',' colName)* ')' ( ('VALUES'|'VALUE') value (',' value) | '(' 'SELECT' ...

nothing has been pre-consumed

 'INSERT' ('LOW_PRIORITY'|'DELAYED'|'HIGH_PRIORITY')? 'IGNORE'? 'INTO'? tbname (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (',' colName)* ')' ( ('VALUES'|'VALUE') value (',' value) | '(' 'SELECT' ... ')' | 'SELECT' ... ) | 'SELECT' ... ')' ) |('VALUES'|'VALUE') value  ( ',' value ) | 'SELECT' ... ) ( 'ON' 'DUPLICATE' 'KEY' 'UPDATE' colName ('='|':=') expr ( ',' colName ('='|':=') expr)* )? value := '(' (expr|'DEFAULT') ( ',' (expr|'DEFAULT'))* ')' 
MySqlDmlInsertParser ( MySqlLexer lexer, MySqlExprParser exprParser ) : System.Collections.Generic

Private Methods

Method Description
OnDuplicateUpdate ( ) : IExpression>>.IList

Method Details

Insert() public method

nothing has been pre-consumed
 'INSERT' ('LOW_PRIORITY'|'DELAYED'|'HIGH_PRIORITY')? 'IGNORE'? 'INTO'? tbname (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (',' colName)* ')' ( ('VALUES'|'VALUE') value (',' value) | '(' 'SELECT' ...                            
nothing has been pre-consumed
 'INSERT' ('LOW_PRIORITY'|'DELAYED'|'HIGH_PRIORITY')? 'IGNORE'? 'INTO'? tbname (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (',' colName)* ')' ( ('VALUES'|'VALUE') value (',' value) | '(' 'SELECT' ... ')' | 'SELECT' ... ) | 'SELECT' ... ')' ) |('VALUES'|'VALUE') value  ( ',' value ) | 'SELECT' ... ) ( 'ON' 'DUPLICATE' 'KEY' 'UPDATE' colName ('='|':=') expr ( ',' colName ('='|':=') expr)* )? value := '(' (expr|'DEFAULT') ( ',' (expr|'DEFAULT'))* ')' 
public Insert ( ) : DmlInsertStatement
return Tup.Cobar4Net.Parser.Ast.Stmt.Dml.DmlInsertStatement

MySqlDmlInsertParser() public method

public MySqlDmlInsertParser ( MySqlLexer lexer, MySqlExprParser exprParser ) : System.Collections.Generic
lexer Tup.Cobar4Net.Parser.Recognizer.Mysql.Lexer.MySqlLexer
exprParser MySqlExprParser
return System.Collections.Generic