package
0.0.0-20250302012944-701c1ceec546
Repository: https://github.com/khulnasoft/devsecdb.git
Documentation: pkg.go.dev
# Functions
NewAccessOtherDatabaseError returns a new ErrorTypeAccessOtherDatabase.
NewCatalog creates a new database catalog.
NewColumnNotExistsError returns a new ErrorTypeColumnNotExists.
NewEmptyCatalog creates a new empty database catalog.
NewEmptyFinder creates a finder with empty database.
NewFinder creates a new finder.
NewIndexExistsError returns a new ErrorTypeIndexExists.
NewIndexNotExistsError returns a new ErrorTypeIndexNotExists.
NewParseError returns a new ErrorTypeParseError.
NewRelationExistsError returns a new ErrorTypeRelationExists.
NewSetLineError returns a new ErrorTypeParseError.
NewTableExistsError returns a new ErrorTypeTableExists.
NewTableNotExistsError returns a new ErrorTypeTableNotExists.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
ErrorTypeAccessOtherDatabase is the error that try to access other database.
ErrorTypeAutoIncrementExists is the error that auto_increment exists.
ErrorTypeColumnExists is the error that column exists.
ErrorTypeColumnIsReferencedByView is the error that column is referenced by view.
ErrorTypeColumnNotExists is the error that column not exists.
ErrorTypeConstraintNotExists is the error that constraint doesn't exist.
ErrorTypeDatabaseIsDeleted is the error that try to access the deleted database.
ErrorTypeDeparseError is the error in deparsing.
ErrorTypeDropAllColumns is the error that dropping all columns in a table.
ErrorTypeIncorrectIndexName is the incorrect index name error.
ErrorTypeIndexEmptyKeys is the error that index has empty keys.
ErrorTypeIndexExists is the error that index exists.
ErrorTypeIndexNotExists is the error that index does not exist.
ErrorTypeInsertColumnCountNotMatchValueCount is the error that column count doesn't match value count.
ErrorTypeInsertNullIntoNotNullColumn is the error that insert NULL into NOT NULL columns.
ErrorTypeInsertSpecifiedColumnTwice is the error that column specified twice in INSERT.
ErrorTypeInternal is the error for internal errors.
ErrorTypeInvalidColumnTypeForDefaultValue is the error that invalid column type for default value.
ErrorTypeInvalidStatement is the error type for invalid statement errors.
ErrorTypeOnUpdateColumnNotDatetimeOrTimestamp is the error that the ON UPDATE column is not datetime or timestamp.
ErrorTypeParseError is the error in parsing.
ErrorTypePrimaryKeyExists is the error that PK exists.
ErrorTypePrimaryKeyNotExists is the error that PK does not exist.
ErrorTypeRelationExists is the error that relation already exists.
ErrorTypeSchemaExists is the error that schema already exists.
ErrorTypeSchemaNotExists is the error that schema does not exist.
ErrorTypeSetLineError is the error in setting line for statement.
ErrorTypeSetNullDefaultForNotNullColumn is the error that setting NULL default value for the NOT NULL column.
ErrorTypeSpatialIndexKeyNullable is the error that keys in spatial index are nullable.
ErrorTypeTableExists is the error that table exists.
ErrorTypeTableIsReferencedByView is the error that table is referenced by view.
ErrorTypeTableNotExists is the error that table not exists.
ErrorTypeUnsupported is the error for unsupported cases.
ErrorTypeUseCreateTableAs is the error that using CREATE TABLE AS statements.
ErrorTypeViewNotExists is the error that view not exists.
FullTextName is the string for FULLTEXT.
PrimaryKeyName is the string for PK.
SpatialName is the string for SPATIAL.
# Structs
Catalog is the database catalog.
ColumnCount is for counting columns.
ColumnFind is for finding column.
ColumnState is the state for walk-through.
DatabaseState is the state for walk-through.
Finder is the service for finding schema information in database.
FinderContext is the context for finder.
IndexFind is for find index.
IndexState is the state for walk-through.
PrimaryKeyFind is for finding primary key.
SchemaState is the state for walk-through.
TableFind is for find table.
No description provided by the author
TableState is the state for walk-through.
ViewState is the state for walk-through.
WalkThroughError is the error for walking-through.
# Type aliases
No description provided by the author
WalkThroughErrorType is the type of WalkThroughError.