Categorygithub.com/kyleu/libnpn/npndatabase
modulepackage
0.0.1
Repository: https://github.com/kyleu/libnpn.git
Documentation: pkg.go.dev

# Functions

Converts a string array into a SQL array string.
Wipes the database, probably.
Runs database SQL migrations provided in DatabaseMigrations, if needed.
Returns a fresh Service.
Opens a database connection pool.
Creates a SQL delete statement.
Creates a SQL insert statement, potentially for multiple rows.
Creates a SQL select statement.
Creates a SQL select statement with a simple where clause.
Creates a SQL update statement.
Formats a SQL array string into a string array.

# Variables

Set this in your application's startup, it's used as the store for all migrations, call by Migrate.
Set this in your application's startup if needed, these build your schema from scratch, called by DBWipe.

# Structs

Count type for queries, contains a single int64 field.
Parameters used to start a database connection.
Helper class for Index definitions.
A database migration.
No description provided by the author
Database access service.

# Type aliases

No description provided by the author
Array helper.