34 lines
868 B
Go
34 lines
868 B
Go
|
// Code generated by SQLBoiler 3.7.1 (https://github.com/volatiletech/sqlboiler). DO NOT EDIT.
|
||
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
||
|
|
||
|
package model
|
||
|
|
||
|
import (
|
||
|
"github.com/volatiletech/sqlboiler/drivers"
|
||
|
"github.com/volatiletech/sqlboiler/queries"
|
||
|
"github.com/volatiletech/sqlboiler/queries/qm"
|
||
|
)
|
||
|
|
||
|
var dialect = drivers.Dialect{
|
||
|
LQ: 0x60,
|
||
|
RQ: 0x60,
|
||
|
|
||
|
UseIndexPlaceholders: false,
|
||
|
UseLastInsertID: true,
|
||
|
UseSchema: false,
|
||
|
UseDefaultKeyword: false,
|
||
|
UseAutoColumns: false,
|
||
|
UseTopClause: false,
|
||
|
UseOutputClause: false,
|
||
|
UseCaseWhenExistsClause: false,
|
||
|
}
|
||
|
|
||
|
// NewQuery initializes a new Query using the passed in QueryMods
|
||
|
func NewQuery(mods ...qm.QueryMod) *queries.Query {
|
||
|
q := &queries.Query{}
|
||
|
queries.SetDialect(q, &dialect)
|
||
|
qm.Apply(q, mods...)
|
||
|
|
||
|
return q
|
||
|
}
|