sql

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLDatabase

func NewSQLDatabase(ctx context.Context, uri string) (database.LibraryOfCongressDatabase, error)

Types

type SQLDatabase

type SQLDatabase struct {
	database.LibraryOfCongressDatabase
	// contains filtered or unexported fields
}

func (*SQLDatabase) Index

func (sql_db *SQLDatabase) Index(ctx context.Context, sources []*database.Source, monitor timings.Monitor) error

func (*SQLDatabase) Query

func (sql_db *SQLDatabase) Query(ctx context.Context, q string, pg_opts pagination.Options) ([]*database.QueryResult, pagination.Results, error)

Jump to

Keyboard shortcuts

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