lucid

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidData = gorm.ErrInvalidData

ErrInvalidData can be returned from hooks to roll back a transaction.

View Source
var ErrRecordNotFound = gorm.ErrRecordNotFound

ErrRecordNotFound is returned when no row matches a query.

Functions

This section is empty.

Types

type Config

type Config = gorm.Config

Config configures ORM behavior.

type DB

type DB = gorm.DB

DB is Nimbus's first-party ORM database handle.

func Open

func Open(dialector Dialector, opts ...Option) (*DB, error)

Open initializes a Lucid database connection.

type DeletedAt

type DeletedAt = gorm.DeletedAt

DeletedAt is the soft-delete field type.

type Dialector

type Dialector = gorm.Dialector

Dialector selects the underlying SQL dialect.

type Option

type Option = gorm.Option

Option is an ORM open option.

type Session

type Session = gorm.Session

Session configures a DB session (scopes, dry run, new connection, etc.).

type Statement

type Statement = gorm.Statement

Statement is the active query/model statement (callbacks, schema, SQL).

Directories

Path Synopsis
Package clause re-exports GORM clause builders under the Nimbus lucid module.
Package clause re-exports GORM clause builders under the Nimbus lucid module.
Package logger re-exports GORM's logger types under the Nimbus lucid module.
Package logger re-exports GORM's logger types under the Nimbus lucid module.

Jump to

Keyboard shortcuts

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