Documentation ¶
Overview ¶
Package sqlite implements a Qlbridge Datasource interface around sqlite that translates mysql syntax to sqlite.
sqlite implements a Qlbridge Datasource interface around sqlite.
Index ¶
Constants ¶
View Source
const (
// SourceType "sqlite" is the registered Source name in the qlbridge source registry
SourceType = "sqlite"
)
Variables ¶
This section is empty.
Functions ¶
func TableToString ¶
TableToString Table output a CREATE TABLE statement using mysql dialect.
func TypeFromString ¶
TypeFromString given a string, return data type
func ValueString ¶
ValueString convert a value.ValueType into a sqlite type descriptor
func WriteField ¶
WriteField write a schema.Field as string output for sqlite create statement
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source implements qlbridge DataSource to a sqlite file based source.
Features - Support full predicate push down to SqlLite. - Support Thread-Safe wrapper around sqlite file.
Click to show internal directories.
Click to hide internal directories.