orm

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const NoVersion int64 = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record[T comparable] interface {
	GetID() T
	GetErased() bool
	GetVersion() int64
	TableName() string
}

type Reference

type Reference[T comparable] struct {
	TableName string
	ID        T
}

func (Reference[T]) Key

func (r Reference[T]) Key() string

type Referenced

type Referenced[T comparable] interface {
	References() []Reference[T]
}

Jump to

Keyboard shortcuts

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