glimr_sqlite/console/kernel

glimr_sqlite Console Kernel

Provides SQLite-specific console commands for database operations. Users register these commands in their command_provider to enable sqlite:migrate, sqlite:gen, and sqlite:cache-table.

Values

pub fn commands() -> List(command.Command)

Returns the list of SQLite console commands. Add these to your command_provider to enable sqlite:migrate, sqlite:gen, and sqlite:cache-table commands.

Example:

import glimr_sqlite/console/kernel as sqlite_kernel

pub fn register() -> List(Command) {
  list.flatten([
    kernel.commands(),
    sqlite_kernel.commands(),
  ])
}
Search Document