MCPcopy
hub / github.com/dosco/graphjin / getTargetPsqlCompiler

Method getTargetPsqlCompiler

core/gstate.go:395–397  ·  view source on GitHub ↗

getTargetPsqlCompiler returns the psql compiler for the target database.

()

Source from the content-addressed store, hash-verified

393
394// getTargetPsqlCompiler returns the psql compiler for the target database.
395func (s *gstate) getTargetPsqlCompiler() *psql.Compiler {
396 return s.getTargetDBCtx().psqlCompiler
397}
398
399// getTargetDB returns the *sql.DB for the target database.
400// If s.database is set (non-default database), returns that database's connection.

Callers 4

executeMethod · 0.95
argListMethod · 0.95
argListForSubMethod · 0.95
setLocalUserIDMethod · 0.95

Calls 1

getTargetDBCtxMethod · 0.95

Tested by

no test coverage detected