database

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database = types.Database

Re-export types for backward compatibility

func New

func New(uri string) (Database, error)

New creates a new database instance from a URI string This is kept for backward compatibility and delegates to NewFromURI

func NewFromURI

func NewFromURI(uri string) (Database, error)

NewFromURI creates a new database instance from a URI string The URI is parsed by the appropriate driver's URI parser Supported formats depend on the registered drivers: - sqlite:///path/to/database.db - sqlite://:memory: - mysql://user:pass@host:port/database - postgresql://user:pass@host:port/database

type DeleteQuery

type DeleteQuery = types.DeleteQuery

type InsertQuery

type InsertQuery = types.InsertQuery

type ModelQuery

type ModelQuery = types.ModelQuery

type RawQuery

type RawQuery = types.RawQuery

type SelectQuery

type SelectQuery = types.SelectQuery

type Transaction

type Transaction = types.Transaction

type UpdateQuery

type UpdateQuery = types.UpdateQuery

Jump to

Keyboard shortcuts

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