Documentation
¶
Overview ¶
completer package provides a generic SQL command line completer
Index ¶
Constants ¶
View Source
const (
WORD_BREAKS = "\t\n$><=;|&{() "
)
Variables ¶
View Source
var ( IGNORE_CASE = caseType(true) MATCH_CASE = caseType(false) )
Functions ¶
func NewDefaultCompleter ¶
func NewDefaultCompleter(opts ...Option) readline.AutoCompleter
Types ¶
type Option ¶
type Option func(*completer)
Option to configure the reader
func WithSQLCommands ¶
WithSQLCommands that can be any part of a query
func WithSQLStartCommands ¶
WithSQLStartCommands that can begin a query
Click to show internal directories.
Click to hide internal directories.