libsql

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package libsql provides SQL query execution utilities with result scanning.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

func Query[Result any](db *sql.DB, querySQL string, args ...any) ([]Result, error)

Query executes a SQL query and scans the result rows into a slice of Result.

Types

type DataBaseModel

type DataBaseModel struct {
	DB          *sql.DB
	ProgramName string
	ModuleName  string
	SetVariable string
}

DataBaseModel holds the database connection and program/module metadata for SQL operations.

Jump to

Keyboard shortcuts

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