package
0.18.1
Repository: https://github.com/dolthub/go-mysql-server.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
HistoryProvider returns a ProviderOption to construct a memoryDBProvider that uses history databases.
No description provided by the author
NewDatabase creates a new database with the given name.
NewDBProvider creates a new DbProvider with the default options and the databases specified.
NewDBProviderWithOpts creates a new DbProvider with the given options and no databases.
NewDualTable creates the dual table, which is used by the engine for queries with no tables specified, or the `dual` table specified.
No description provided by the author
No description provided by the author
NewIndexDriver returns a new index driver for database and the indexes given, keyed by the table name.
NewLocalTable returns a table suitable to use for transient non-memory applications.
No description provided by the author
NewPartitionedTable creates a new Table with the given name, schema and number of partitions.
NewPartitionedTable creates a new Table with the given name, schema and number of partitions.
NewPartitionedTableWithCollation creates a new Table with the given name, schema, number of partitions, collation, and comment.
No description provided by the author
NewSession returns the new session for this object.
NewSessionBuilder returns a session for the given in-memory database provider suitable to use in a test server This can't be defined as server.SessionBuilder because importing it would create a circular dependency, but it's the same signature.
No description provided by the author
NewTable creates a new Table with the given name and schema.
NewTableWithCollation creates a new Table with the given name, schema, and collation.
NewViewlessDatabase creates a new database that doesn't persist views.
ReadOnlyProvider returns a ProviderOption to construct a memoryDBProvider that is read-only.
No description provided by the author
WithDbsOption returns a ProviderOption to construct a DbProvider with the given databases.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

BaseDatabase is an in-memory database that can't store views, only for testing the engine.
Database is an in-memory database.
DbProvider is a provider for in-memory databases.
ExponentialDistTable a simple table function that returns samples from a parameterized exponential distribution.
FilteredTable functionality in the Table type was disabled for a long period of time, and has developed major issues with the current analyzer logic.
ForeignKeyCollection is a shareable container for a collection of foreign keys.
HistoryDatabase is a test-only VersionedDatabase implementation.
No description provided by the author
IndexedTable is a table that expects to return one or more partitions for range lookups.
No description provided by the author
IntSequenceTable a simple table function that returns a sequence of integers.
NormalDistTable a simple table function that returns samples from a parameterized normal distribution.
No description provided by the author
PointLookupTable is a table whose indexes only support point lookups but not range scans.
No description provided by the author
RequiredLookupTable is a table that will error if not executed as an index lookup.
No description provided by the author
No description provided by the author
No description provided by the author
Table represents an in-memory database table.
TableData encapsulates all schema and data for a table's schema and rows.
TableFunc a simple table function that returns the instantiated value.
No description provided by the author
TableRevision is a container for memory tables to run basic smoke tests for versioned queries.
TestIndexDriver is a non-performant index driver meant to aid in verification of engine correctness.
No description provided by the author

# Interfaces

ExpressionsIndex is an index made out of one or more expressions (usually field expressions), linked to a Table.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author