Documentation ¶ Index ¶ type Hsql func New(tns tns.TNS) *Hsql func (h *Hsql) Transform(tenantId, group string, allowedTables []string, query string) (*Result, error) type HsqlVisitor func (h *HsqlVisitor) Visit(node sql.Node) (sql.Visitor, error) func (h *HsqlVisitor) VisitEnd(node sql.Node) error type Result Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Hsql ¶ type Hsql struct { // contains filtered or unexported fields } func New ¶ func New(tns tns.TNS) *Hsql func (*Hsql) Transform ¶ func (h *Hsql) Transform(tenantId, group string, allowedTables []string, query string) (*Result, error) type HsqlVisitor ¶ type HsqlVisitor struct { // contains filtered or unexported fields } func (*HsqlVisitor) Visit ¶ func (h *HsqlVisitor) Visit(node sql.Node) (sql.Visitor, error) func (*HsqlVisitor) VisitEnd ¶ func (h *HsqlVisitor) VisitEnd(node sql.Node) error type Result ¶ type Result struct { InverseAlias map[string]string TransformedQuery string } Source Files ¶ View all Source files funclist.go hsql.go visitor.go Click to show internal directories. Click to hide internal directories.