Example #1
0
 /// <exception cref="System.SqlSyntaxErrorException" />
 private DalShowIndex ShowIndex(ShowIndexType _showIndexType)
 {
     lexer.NextToken();
     Match(MySqlToken.KwFrom, MySqlToken.KwIn);
     var tempId = Identifier();
     if (lexer.Token() == MySqlToken.KwFrom || lexer.Token() == MySqlToken.KwIn)
     {
         lexer.NextToken();
         var tempId2 = Identifier();
         return new DalShowIndex(_showIndexType, tempId, tempId2);
     }
     return new DalShowIndex(_showIndexType, tempId);
 }
Example #2
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table)
 {
     Table = table;
     IndexType = showIndexType;
 }
Example #3
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table)
 {
     Table     = table;
     IndexType = showIndexType;
 }
Example #4
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table, Identifier database)
 {
     Table = table;
     Table.Parent = database;
     IndexType = showIndexType;
 }
Example #5
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table, Identifier database)
 {
     Table        = table;
     Table.Parent = database;
     IndexType    = showIndexType;
 }