package
5.13.0+incompatible
Repository: https://github.com/documize/community.git
Documentation: pkg.go.dev

# Functions

Check that the database is configured correctly and that all the required tables exist.
CurrentVersion returns number that represents the current database version number.
InstallUpgrade creates new database or upgrades existing database.
LoadScripts returns .SQL scripts for supported database providers.
RebindParams changes MySQL query parameter placeholder from "?" to correct value for given database provider.
RebindPostgreSQL is a helper method on top of RebindParams.
SpecificScripts returns SQL scripts for current databasse provider.

# Structs

Handler contains the runtime information such as logging and database.
Script holds SQL script and it's associated version number.
Scripts holds all .SQL files for all supported database providers.