MCPcopy Create free account
hub / github.com/araddon/qlbridge / SqlSelectToPb

Function SqlSelectToPb

rel/sql.go:947–949  ·  view source on GitHub ↗

SqlSelectToPb Given a select statement lets convert it into a PB statement

(m *SqlSelect)

Source from the content-addressed store, hash-verified

945
946// SqlSelectToPb Given a select statement lets convert it into a PB statement
947func SqlSelectToPb(m *SqlSelect) *SqlSelectPb {
948 return sqlSelectToPbDepth(m, 0)
949}
950func sqlSelectToPbDepth(m *SqlSelect, depth int) *SqlSelectPb {
951 //u.Debugf("SqlSelectToPb %d? %p", depth, m)
952 s := SqlSelectPb{}

Callers 3

ToPbStatementMethod · 0.85
sqlSourceToPbFunction · 0.85
SqlWhereToPbFunction · 0.85

Calls 1

sqlSelectToPbDepthFunction · 0.85

Tested by

no test coverage detected