MCPcopy Create free account
hub / github.com/bytebase/bytebase / Space

Method Space

backend/common/qb/qb.go:118–120  ·  view source on GitHub ↗

Space adds a query part with a space separator. Convenience wrapper for Join(" ", ...).

(text string, params ...any)

Source from the content-addressed store, hash-verified

116
117// Space adds a query part with a space separator. Convenience wrapper for Join(" ", ...).
118func (q *Query) Space(text string, params ...any) *Query {
119 return q.Join(" ", text, params...)
120}
121
122// And adds an AND condition.
123func (q *Query) And(text string, params ...any) *Query {

Callers 15

TestQuery_NilQueryFunction · 0.95
CreateReleaseMethod · 0.80
ListReleasesMethod · 0.80
UpdateReleaseMethod · 0.80
CreateChangelogMethod · 0.80
UpdateChangelogMethod · 0.80
ListChangelogsMethod · 0.80
UpdateWorkspaceMethod · 0.80
DeleteWorkspaceMethod · 0.80
ListWorkspacesByEmailMethod · 0.80
ListServiceAccountsMethod · 0.80

Calls 1

JoinMethod · 0.95

Tested by 15

TestQuery_NilQueryFunction · 0.76
TestApplyRetentionFilterFunction · 0.64
TestQuery_BasicFunction · 0.64
TestQuery_WithParametersFunction · 0.64
TestQuery_AndOrFunction · 0.64
TestQuery_JoinFunction · 0.64
TestQuery_JoinWithParamsFunction · 0.64
TestQuery_NoParametersFunction · 0.64
TestQuery_ArrayParameterFunction · 0.64