sqlserver

package
v0.1.86 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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