Help us shape the future of Go! Take the 2026 Go Developer Survey

sqlserver

package
v0.1.62 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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

View Source
const Dialect = planner.Dialect
View Source
const DriverName = native.DriverName

Variables

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

func CreateOrAlter(input string) (string, error)

func FormatType

func FormatType(input schema.Type) (string, error)

func Open

func OpenClient

func OpenClient(ctx context.Context, db *sql.DB) (*sqlclient.Client, error)

func OpenTx

func OpenTx(ctx context.Context, db *sql.DB, opts *sql.TxOptions) (*sqlclient.Tx, error)

func ParseType

func ParseType(input string) (schema.Type, error)

Types

type Clustered

type Clustered = planner.Clustered

type Codec

type Codec = native.Codec

type DefaultConstraint

type DefaultConstraint = planner.DefaultConstraint

type Definition

type Definition = planner.Definition

type Driver

type Driver = native.Driver

type Identity

type Identity = planner.Identity

type IndexInclude

type IndexInclude = planner.IndexInclude

type IndexPredicate

type IndexPredicate = planner.IndexPredicate

type Routine

type Routine = planner.Routine

func ParseRoutine

func ParseRoutine(input string) (*Routine, error)

type SpecialType

type SpecialType = planner.SpecialType

type UniqueConstraint

type UniqueConstraint = planner.UniqueConstraint

Jump to

Keyboard shortcuts

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