MCPcopy Index your code
hub / github.com/coder/coder / CompileToSQL

Method CompileToSQL

coderd/coderdtest/authorize.go:358–364  ·  view source on GitHub ↗
(ctx context.Context, cfg regosql.ConvertConfig)

Source from the content-addressed store, hash-verified

356}
357
358func (s *PreparedRecorder) CompileToSQL(ctx context.Context, cfg regosql.ConvertConfig) (string, error) {
359 s.rw.Lock()
360 defer s.rw.Unlock()
361
362 s.usingSQL = true
363 return s.prepped.CompileToSQL(ctx, cfg)
364}
365
366// FakeAuthorizer is an Authorizer that will return an error based on the
367// "ConditionalReturn" function. By default, **no error** is returned.

Callers

nothing calls this directly

Calls 3

CompileToSQLMethod · 0.65
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected