MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / BuildSelect

Function BuildSelect

utils/github/didi/gendry/builder/builder.go:65–141  ·  view source on GitHub ↗

BuildSelect work as its name says. supported operators including: =,in,>,>=,<,<=,<>,!=. key without operator will be regarded as =. special key begin with _: _orderby,_groupby,_limit,_having. the value of _limit must be a slice whose type should be []uint and must contain two uints(ie: []uint{0, 100

(table string, where map[string]interface{}, selectField []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

GetTagsListMethod · 0.92
getReleaseFromDBMethod · 0.92
ListMethod · 0.92
getAppFromDBMethod · 0.92
ListMethod · 0.92
AggregateQueryFunction · 0.85

Calls 4

resolveHavingFunction · 0.85
getWhereConditionsFunction · 0.85
nilComparableTypeAlias · 0.85
buildSelectFunction · 0.85

Tested by

no test coverage detected