MCPcopy Create free account
hub / github.com/cloudwan/gohan / handler

Method handler

db/sql/sql.go:744–750  ·  view source on GitHub ↗
(property *schema.Property)

Source from the content-addressed store, hash-verified

742}
743
744func (db *DB) handler(property *schema.Property) propertyHandler {
745 handler, ok := db.handlers[property.Type]
746 if ok {
747 return handler
748 }
749 return &defaultHandler{}
750}
751
752func makeColumnID(tableName string, property schema.Property) string {
753 return fmt.Sprintf("%s__%s", tableName, property.ID)

Callers 3

CreateContextMethod · 0.80
updateQueryMethod · 0.80
decodeMethod · 0.80

Implementers 4

DBdb/sql/sql.go
MockDBdb/mocks/db.go
MockDBMockRecorderdb/mocks/db.go
DBdb/file/file.go

Calls

no outgoing calls

Tested by

no test coverage detected