Documentation ¶
Index ¶
Constants ¶
View Source
const CurrentTimestamp = `CURRENT_TIMESTAMP`
CurrentTimestamp is a default option for sqlite3 column types, but it only has second resolution
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datetime ¶ added in v0.3.0
type Datetime struct { PrimaryKey bool NotNull bool Default string // TODO Should this be a clause that compiles? }
func (Datetime) Create ¶ added in v0.3.0
Create returns the syntax need to create this column in CREATE statements.
func (Datetime) IsPrimaryKey ¶ added in v0.3.0
func (Datetime) IsRequired ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.