package
0.0.0-20240830163329-05cc1f7d8af4
Repository: https://github.com/hackborn/doc_drivers.git
Documentation: pkg.go.dev
# 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.