jet/keyword.go

22 lines
419 B
Go
Raw Normal View History

2019-06-21 13:56:57 +02:00
package jet
2019-04-07 16:54:06 +02:00
const (
2019-07-18 17:43:11 +02:00
// DEFAULT is jet equivalent of SQL DEFAULT
2019-04-07 16:54:06 +02:00
DEFAULT keywordClause = "DEFAULT"
)
2019-06-03 17:38:47 +02:00
var (
2019-07-18 17:43:11 +02:00
// NULL is jet equivalent of SQL NULL
2019-06-03 18:28:16 +02:00
NULL = newNullLiteral()
2019-07-18 17:43:11 +02:00
// STAR is jet equivalent of SQL *
2019-06-03 18:28:16 +02:00
STAR = newStarLiteral()
2019-06-03 17:38:47 +02:00
)
2019-04-07 16:54:06 +02:00
type keywordClause string
2019-07-08 10:48:03 +02:00
func (k keywordClause) serialize(statement statementType, out *sqlBuilder, options ...serializeOption) error {
out.writeString(string(k))
2019-04-07 16:54:06 +02:00
return nil
}