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

Method Rewrite

rel/sql.go:1430–1432  ·  view source on GitHub ↗

Rewrite this Source to act as a stand-alone query to backend @parentStmt = the parent statement that this a partial source to

(parentStmt *SqlSelect)

Source from the content-addressed store, hash-verified

1428// Rewrite this Source to act as a stand-alone query to backend
1429// @parentStmt = the parent statement that this a partial source to
1430func (m *SqlSource) Rewrite(parentStmt *SqlSelect) *SqlSelect {
1431 return RewriteSqlSource(m, parentStmt)
1432}
1433
1434func (m *SqlSource) findFromAliases() (string, string) {
1435 from1, from2 := m.alias, ""

Callers

nothing calls this directly

Calls 1

RewriteSqlSourceFunction · 0.85

Tested by

no test coverage detected