Documentation
¶
Overview ¶
Package sqlite provides an implementation of sorted.KeyValue using an SQLite database file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CompiledIn ¶
func CompiledIn() bool
CompiledIn returns whether SQLite support is compiled in. If it returns false, the build tag "with_sqlite" was not specified.
func EnableWAL ¶
func EnableWAL() string
EnableWAL returns the statement to enable Write-Ahead Logging, which improves SQLite concurrency. Requires SQLite >= 3.7.0
func IsWALCapable ¶
func IsWALCapable() bool
IsWALCapable checks if the installed sqlite3 library can use Write-Ahead Logging (i.e version >= 3.7.0)
func NewStorage ¶
NewStorage is a convenience that calls newKeyValueFromConfig with file as the sqlite storage file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.