sqlite

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: Apache-2.0 Imports: 14 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 sqlite registers the "sqlite" engine dialect, planned with the upstream Atlas SQLite driver.

Index

Constants

View Source
const (
	// Name is the registered dialect name.
	Name = "sqlite"
	// SchemaName is the only schema SQLite migrations manage.
	SchemaName = "main"
)

Variables

View Source
var Dialect = atlasdriver.New(backend{})

Dialect is the registered SQLite dialect.

Functions

func SchemaFromAtlas

func SchemaFromAtlas(s *schema.Schema) (migrate.Schema, error)

SchemaFromAtlas turns a schema already projected to SQLite (types, checks, the main schema name) into the schema to plan toward.

func SchemaFromHCL

func SchemaFromHCL(hcl string) (migrate.Schema, error)

SchemaFromHCL turns declared Atlas SQLite HCL into the schema to plan toward.

Types

This section is empty.

Jump to

Keyboard shortcuts

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