Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2024 Changes in this version + const MySQL + type SQLBuilder interface + BuildBatchAssociationBodySQL func(argEntity *graph.ArgEntity, fields []*graph.Attribute, povitTableName string, ...) string + BuildBoolExp func(argEntity *graph.ArgEntity, where map[string]interface{}) (string, []interface{}) + BuildCheckAssociationSQL func(ownerId uint64, tableName string, ownerFieldName string) string + BuildCheckPovitSQL func(povit *data.AssociationPovit) string + BuildClearAssociationSQL func(ownerId uint64, tableName string, ownerFieldName string) string + BuildColumnSQL func(column *table.Column) string + BuildCreateMetaSQL func() string + BuildCreateTableSQL func(table *table.Table) string + BuildDeletePovitSQL func(povit *data.AssociationPovit) string + BuildDeleteSQL func(id uint64, tableName string) string + BuildDeleteTableSQL func(table *table.Table) string + BuildFieldExp func(fieldName string, fieldArgs map[string]interface{}) (string, []interface{}) + BuildInsertPovitSQL func(povit *data.AssociationPovit) string + BuildInsertSQL func(fields []*data.Field, table *table.Table) string + BuildModifyTableAtoms func(diff *model.TableDiff) []model.ModifyAtom + BuildOrderBySQL func(argEntity *graph.ArgEntity, orderBy interface{}) string + BuildQueryAssociatedInstancesSQL func(entity *graph.Entity, ownerId uint64, povitTableName string, ...) string + BuildQueryByIdsSQL func(entity *graph.Entity, idCounts int) string + BuildQueryCountSQLBody func(argEntity *graph.ArgEntity) string + BuildQueryPovitSQL func(povit *data.AssociationPovit) string + BuildQuerySQLBody func(argEntity *graph.ArgEntity, fields []*graph.Attribute) string + BuildSoftDeleteSQL func(id uint64, tableName string) string + BuildTableCheckSQL func(name string, database string) string + BuildUpdateSQL func(id uint64, fields []*data.Field, table *table.Table) string + BuildWhereSQL func(argEntity *graph.ArgEntity, fields []*graph.Attribute, ...) (string, []interface{}) + ColumnTypeSQL func(column *table.Column) string + func GetSQLBuilder() SQLBuilder