database

package
v0.0.0-...-143f45a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToKleio

func ConnectToKleio() (*sql.DB, error)

func ConnectToSQL

func ConnectToSQL() (*sql.DB, error)

func CreateDB

func CreateDB(db *sql.DB) error

CreateDB creates the database if it does not exist.

func CreateTable

func CreateTable(db *sql.DB) error

CreateTable creates a new table in the database if it does not exist.

func DeleteDB

func DeleteDB(db *sql.DB) error

DeleteDB drops the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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