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

Method ToPbStatement

rel/sql.go:931–936  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

929 return SqlSelectFromPb(spb)
930}
931func (m *SqlSelect) ToPbStatement() *SqlStatementPb {
932 if m.pb == nil {
933 m.pb = &SqlStatementPb{Select: SqlSelectToPb(m)}
934 }
935 return m.pb
936}
937func (m *SqlSelect) ToPB() *SqlSelectPb {
938 return m.ToPbStatement().Select
939}

Callers 4

ToPBMethod · 0.95
parseSqlTestFunction · 0.80
parseSqlTestFunction · 0.80
TestPbFunction · 0.80

Calls 1

SqlSelectToPbFunction · 0.85

Tested by 3

parseSqlTestFunction · 0.64
parseSqlTestFunction · 0.64
TestPbFunction · 0.64