Versions in this module Expand all Collapse all v0 v0.0.2 Nov 26, 2022 v0.0.1 Oct 15, 2022 Changes in this version + func CollectStmtScopes(stmt *parser.Statement, targetSchema string) ([]*dparser.StmtScope, []error) + func CollectTableNames(stmt *parser.Statement) ([]string, []error) + func CollectTableSchemas(db *postgres.DB, schema string, tables []string) ([]*dparser.TableSchema, error) + func ListPossibleIndexes(db *postgres.DB, schema string, stmt *parser.Statement) ([]*dmodel.IndexTarget, []error) + func Parse(query string) (*parser.Statement, error)