Exemple #1
0
 public override object VisitFromSimpleTable([NotNull] SQLiteParser.FromSimpleTableContext context)
 {
     SelectStmt.TableSample sample = null;
     if (context.tablesample_clause() != null)
     {
         sample = VisitTablesample_clause(context.tablesample_clause()) as SelectStmt.TableSample;
     }
     return(new BaseTableRef(context.table_name().GetText(), context.table_alias()?.GetText(), sample));
 }
Exemple #2
0
 public override object VisitFromSimpleTable([NotNull] SQLiteParser.FromSimpleTableContext context)
 => new BaseTableRef(context.table_name().GetText(), context.table_alias()?.GetText());