sqlserver

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package sqlserver implements the s9l driver for Microsoft SQL Server using the pure-Go microsoft/go-mssqldb adapter (database/sql, no CGO). It mirrors the SQLite/PostgreSQL/MySQL adapters; SQL Server-specific dialect (DSN form, INFORMATION_SCHEMA queries, @p1 placeholders) lives here, keeping the core driver-agnostic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

Driver opens SQL Server databases. The DSN is a go-mssqldb URL, e.g. "sqlserver://user:pass@host:1433?database=db&encrypt=disable".

func (Driver) Name

func (Driver) Name() string

Name returns the driver identifier (also the DSN scheme).

func (Driver) Open

func (Driver) Open(ctx context.Context, dsn string) (driver.Conn, error)

Open establishes a connection to the SQL Server database at dsn.

Jump to

Keyboard shortcuts

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