How to Use
Import the sqlite
package and the query mod packages for the different query types
import (
"github.com/stephenafamo/bob/dialect/sqlite"
"github.com/stephenafamo/bob/dialect/sqlite/sm"
"github.com/stephenafamo/bob/dialect/sqlite/im"
"github.com/stephenafamo/bob/dialect/sqlite/um"
"github.com/stephenafamo/bob/dialect/sqlite/dm"
)
func main() {
sqlite.Select(
sm.From("users"),
)
sqlite.Insert(
im.Into("users"),
)
sqlite.Update(
um.Table("users"),
)
sqlite.Delete(
dm.From("users"),
)
sqlite.Raw()
}
Dialect Support
Query types
View the reference for the query mod packages:
- Raw
- Select: Query Mods
- Insert: Query Mods
- Update: Query Mods
- Delete: Query Mods
Starters
These are SQLite specific starters, in addition to the common starters
Empty
Operators
These are SQLite specific operators, in addition to the common operators
Empty