Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexExaminer ¶
type IndexExaminer struct {
// contains filtered or unexported fields
}
func NewIndexExaminer ¶
func NewIndexExaminer(cli *hasura.Client, query string, v map[string]interface{}) *IndexExaminer
func (*IndexExaminer) CreateIndex ¶
func (ie *IndexExaminer) CreateIndex(name string, it *dmodel.IndexTarget) error
func (*IndexExaminer) DropIndex ¶
func (ie *IndexExaminer) DropIndex(name string, it *dmodel.IndexTarget) error
func (*IndexExaminer) Execute ¶
func (ie *IndexExaminer) Execute() (int64, error)
type IndexGetter ¶
type IndexGetter struct {
// contains filtered or unexported fields
}
func NewIndexGetter ¶
func NewIndexGetter(cli *hasura.Client) *IndexGetter
func (*IndexGetter) GetIndexes ¶
func (ig *IndexGetter) GetIndexes(dbSchema string, tables []string) ([]*dmodel.IndexTarget, error)
type IndexSuggester ¶
type IndexSuggester struct {
// contains filtered or unexported fields
}
func NewIndexSuggester ¶
func NewIndexSuggester(cli *hasura.Client) *IndexSuggester
func (*IndexSuggester) Suggest ¶
func (is *IndexSuggester) Suggest(query string) ([]*dmodel.IndexTarget, error)
Click to show internal directories.
Click to hide internal directories.