config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

This file defines code to manage the internal database

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDatabaseConnection

func OpenDatabaseConnection(path string, readOnly bool) (*sql.DB, *model.Queries, error)

OpenDatabaseConnection opens a connection to the database

If the path is empty, it defaults to XDG_CONFIG_HOME/anyquery/config.db However, if the path is not empty, it will use the provided path (must be created beforehand)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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