mssql

package module
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mssql is liteorm's SQL Server backend over microsoft/go-mssqldb (database/sql). It wires the MSSQL dialect (@pN placeholders, [bracket] quoting, MERGE upsert, OUTPUT instead of RETURNING, OFFSET/FETCH pagination, SAVE TRANSACTION savepoints) and normalizes mssql.Error numbers to liteorm sentinels.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, dsn string, opts ...liteorm.Option) (*liteorm.DB, error)

Open opens a SQL Server database for the given DSN (sqlserver://… or ADO form) and returns a liteorm.DB on the MSSQL dialect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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