Documentation
¶
Overview ¶
Package sqlserver preserves the commons-db API; implementations live in sqlglot-go.
Package sqlserver preserves the commons-db API; implementations live in sqlglot-go.
Index ¶
- Constants
- Variables
- func CatalogType(c mssqlcatalog.Column) (schema.Type, error)
- func CreateOrAlter(input string) (string, error)
- func FormatType(input schema.Type) (string, error)
- func Open(db schema.ExecQuerier) (migrate.Driver, error)
- func OpenClient(ctx context.Context, db *sql.DB) (*sqlclient.Client, error)
- func OpenTx(ctx context.Context, db *sql.DB, opts *sql.TxOptions) (*sqlclient.Tx, error)
- func ParseType(input string) (schema.Type, error)
- type Clustered
- type Codec
- type DefaultConstraint
- type Definition
- type Driver
- type Identity
- type IndexInclude
- type IndexPredicate
- type Routine
- type SpecialType
- type UniqueConstraint
Constants ¶
View Source
const Dialect = planner.Dialect
View Source
const DriverName = native.DriverName
Variables ¶
View Source
var DefaultDiff schema.Differ = planner.DefaultDiff
View Source
var DefaultPlan migrate.PlanApplier = runtime.DefaultPlan
View Source
var EvalHCL = native.EvalHCL
View Source
var EvalHCLBytes = native.EvalHCLBytes
View Source
var MarshalHCL = native.MarshalHCL
View Source
var TypeRegistry = native.TypeRegistry
Functions ¶
func CatalogType ¶
func CatalogType(c mssqlcatalog.Column) (schema.Type, error)
func CreateOrAlter ¶
Types ¶
type DefaultConstraint ¶
type DefaultConstraint = planner.DefaultConstraint
type Definition ¶
type Definition = planner.Definition
type IndexInclude ¶
type IndexInclude = planner.IndexInclude
type IndexPredicate ¶
type IndexPredicate = planner.IndexPredicate
type Routine ¶
func ParseRoutine ¶
type SpecialType ¶
type SpecialType = planner.SpecialType
type UniqueConstraint ¶
type UniqueConstraint = planner.UniqueConstraint
Click to show internal directories.
Click to hide internal directories.