models

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func (*Model) Define

func (m *Model) Define(def attrs.Definer, f ...attrs.Field) *attrs.ObjectDefinitions

func (*Model) ModelDataStore

func (m *Model) ModelDataStore() queries.ModelDataStore

func (*Model) ModelMeta

func (m *Model) ModelMeta() attrs.ModelMeta

func (*Model) RelatedField

func (m *Model) RelatedField(name string) (attrs.Field, bool)

func (*Model) SaveFields

func (m *Model) SaveFields() error

Jump to

Keyboard shortcuts

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