package
0.19.19
Repository: https://github.com/xo/usql.git
Documentation: pkg.go.dev

# Packages

Package informationschema provides metadata readers that query tables from the information_schema schema.
Package oracle provides a metadata reader.
Package postgres provides a metadata reader.

# Functions

NewPluginReader allows to be easily composed from other readers.
WithDryRun allows to avoid running any queries.
WithLimit for a single query, if the reader supports it.
WithListAllDbs that lists all catalogs.
WithLogger used to log queries before executing them.
WithSystemSchemas that are ignored unless showSystem is true.
WithTimeout for a single query.

# Variables

# Structs

ColumnPrivilege represents a privilege granted on a column.
DefaultWriter using an existing db introspector.
Filter objects returned by Readers.
ObjectPrivilege represents a privilege granted on a database object.
PluginReader allows to be easily composed from other readers.
PrivilegeSummary summarizes the privileges granted on a database object.

# Interfaces

BasicReader of common database metadata like schemas, tables and columns.
CatalogReader lists database schemas.
ColumnReader lists table columns.
ColumnStatsReader lists table column statistics.
ConstraintColumnReader lists constraint columns.
ConstraintReader lists table constraints.
DB is the common interface for database operations, compatible with database/sql.DB and database/sql.Tx.
ExtendedReader of all database metadata in a structured format.
FunctionColumnReader lists function parameters.
FunctionReader lists database functions.
IndexColumnReader lists index columns.
IndexReader lists table indexes.
PrivilegeSummaryReader lists summaries of privileges granted on tables, views and sequences.
Reader of any database metadata in a structured format.
SchemaReader lists database schemas.
SequenceReader lists sequences.
TableReader lists database tables.
TriggerReader lists table triggers.
Writer of database metadata in a human readable format.

# Type aliases

CloseFunc should be called when result wont be processed anymore.
ColumnPrivileges represents privileges granted on a column.
ObjectPrivileges represents privileges granted on a database object.
ReaderOption to configure the reader.
WriterOption to configure the DefaultWriter.