Documentation ¶
Index ¶
- func Parse(line string)
- type CompletionCache
- func (cc *CompletionCache) Cache(db *sqlite.Conn) error
- func (cc *CompletionCache) Close() error
- func (cc *CompletionCache) CompleteCmd(prefix string) ([]string, error)
- func (cc *CompletionCache) CompleteColName(dbName string, tbl_names []string, prefix string) ([]string, error)
- func (cc *CompletionCache) CompleteDbName(prefix string) ([]string, error)
- func (cc *CompletionCache) CompleteFunc(prefix string) ([]string, error)
- func (cc *CompletionCache) CompletePragma(prefix string) ([]string, error)
- func (cc *CompletionCache) CompleteTableName(dbName, prefix, typ string) ([]string, error)
- func (cc *CompletionCache) Flush(db *sqlite.Conn) error
- func (cc *CompletionCache) Update(db *sqlite.Conn) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletionCache ¶
type CompletionCache struct {
// contains filtered or unexported fields
}
func CreateCache ¶
func CreateCache() (*CompletionCache, error)
func (*CompletionCache) Cache ¶
func (cc *CompletionCache) Cache(db *sqlite.Conn) error
func (*CompletionCache) Close ¶
func (cc *CompletionCache) Close() error
func (*CompletionCache) CompleteCmd ¶
func (cc *CompletionCache) CompleteCmd(prefix string) ([]string, error)
func (*CompletionCache) CompleteColName ¶
func (cc *CompletionCache) CompleteColName(dbName string, tbl_names []string, prefix string) ([]string, error)
tbl_names is mandatory
func (*CompletionCache) CompleteDbName ¶
func (cc *CompletionCache) CompleteDbName(prefix string) ([]string, error)
func (*CompletionCache) CompleteFunc ¶
func (cc *CompletionCache) CompleteFunc(prefix string) ([]string, error)
func (*CompletionCache) CompletePragma ¶
func (cc *CompletionCache) CompletePragma(prefix string) ([]string, error)
func (*CompletionCache) CompleteTableName ¶
func (cc *CompletionCache) CompleteTableName(dbName, prefix, typ string) ([]string, error)
func (*CompletionCache) Flush ¶
func (cc *CompletionCache) Flush(db *sqlite.Conn) error
func (*CompletionCache) Update ¶
func (cc *CompletionCache) Update(db *sqlite.Conn) error
Click to show internal directories.
Click to hide internal directories.