jgomodel

package module
v0.0.0-...-d14567b Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

jgomodel

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Schema        string                  `json:"schema"`
	Table         string                  `json:"table"`
	FullTableName string                  `json:"full_table_name"`
	Fields        []psql.Field            `json:"-"`
	Ctx           jgoweb.ContextInterface `json:"-"`
}

func NewModel

func NewModel(ctx jgoweb.ContextInterface, schema string, table string) (*Model, error)

func (*Model) GetFullTableName

func (m *Model) GetFullTableName() string

func (*Model) GetInsertQuery

func (m *Model) GetInsertQuery() string

func (*Model) SetMetaData

func (m *Model) SetMetaData(schema string, table string) error

Jump to

Keyboard shortcuts

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