Add support for INSERT select query.
This commit is contained in:
parent
0971573338
commit
b287521f1a
5 changed files with 154 additions and 74 deletions
15
sqlbuilder/keyword.go
Normal file
15
sqlbuilder/keyword.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package sqlbuilder
|
||||
|
||||
import "bytes"
|
||||
|
||||
const (
|
||||
DEFAULT keywordClause = "DEFAULT"
|
||||
)
|
||||
|
||||
type keywordClause string
|
||||
|
||||
func (k keywordClause) SerializeSql(out *bytes.Buffer, options ...serializeOption) error {
|
||||
out.WriteString(string(k))
|
||||
|
||||
return nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue