first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package db
|
||||
|
||||
type IGrammar interface {
|
||||
SetTablePrefix(prefix string)
|
||||
|
||||
GetTablePrefix() string
|
||||
|
||||
SetBuilder(builder *Builder)
|
||||
|
||||
GetBuilder() *Builder
|
||||
|
||||
CompileInsert([]map[string]interface{}) string
|
||||
|
||||
CompileInsertOrIgnore([]map[string]interface{}) string
|
||||
|
||||
CompileDelete() string
|
||||
|
||||
CompileUpdate(map[string]interface{}) string
|
||||
|
||||
CompileSelect() string
|
||||
|
||||
CompileExists() string
|
||||
|
||||
Wrap(interface{}, ...bool) string
|
||||
|
||||
WrapTable(interface{}) string
|
||||
|
||||
CompileComponentWheres() string
|
||||
|
||||
CompileComponentJoins() string
|
||||
|
||||
CompileRandom(seed string) string
|
||||
//Wrap(value string, b *query.Builder) string
|
||||
}
|
||||
Reference in New Issue
Block a user