sqlitebackend

package
v0.0.0-...-ec53ce9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

README

SQLITE driver

Utility for generating new SQLITE drivers for hackborn/doc. Use cmd/driverutil to generate various pieces.

KEYS

SQLITE does not support multiple keys, so additional keys become indexes.

WRITING THE DRIVER

When working on the driver, the workflow is:

  • Make changes to the reference driver in ref/*
  • Run driverutility->Run reference driver to see if it worked.
  • Run driverutility->Make templates to make new templates used to generate new drivers. This will read the ref/_ files and convert them into templates/_ files.
  • Compile
  • Run driverutility->Make driver to make a new testable driver from the templates. This will use the templates/_ files to create the gen/_ files.
  • Compile
  • Run driverutility->Test driver to verify the generated driver works.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL