Example #1
0
        public QuerySpecificationImpl(SQLVendorImpl vendor, SelectColumnClause select, FromClause from, BooleanExpression where, GroupByClause groupBy, BooleanExpression having, OrderByClause orderBy, NonBooleanExpression offset, NonBooleanExpression limit)
            : base(vendor)
        {
            ArgumentValidator.ValidateNotNull(nameof(select), select);

            this._select  = select;
            this._from    = from;
            this._where   = where;
            this._groupBy = groupBy;
            this._having  = having;
            this._orderBy = orderBy;
            this._offset  = offset;
            this._limit   = limit;
        }
Example #2
0
 public PgSQLInsertStatement NewInsertStatement(TableNameDirect table, ColumnSource columnSource, SelectColumnClause returning = null)
 {
     return(new PgSQLInsertStatementImpl((PostgreSQLVendorImpl)this.vendor, table, columnSource, returning));
 }
Example #3
0
 public PgSQLInsertStatementBuilder SetReturningClause(SelectColumnClause clause)
 {
     this._returning = clause;
     return(this);
 }
Example #4
0
 public virtual QuerySpecification NewQuerySpecification(SelectColumnClause select, FromClause from = null, BooleanExpression where = null, GroupByClause groupBy = null, BooleanExpression having = null, OrderByClause orderBy = null, NonBooleanExpression offset = null, NonBooleanExpression limit = null)
 {
     return(new QuerySpecificationImpl(this.vendor, select, from, where, groupBy, having, orderBy, offset, limit));
 }
Example #5
0
 internal PgSQLInsertStatementImpl(PostgreSQLVendorImpl vendor, TableNameDirect table, ColumnSource columnSource, SelectColumnClause returningClause)
     : base(vendor, table, columnSource)
 {
     this._returning = returningClause;
 }