sorm

package
v0.0.0-...-f040671 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	SQLType int
	Name    string
	Value   interface{}
}

type SORM

type SORM struct {
}

SORM stands for simple ORM

type Table

type Table struct {
	Name    string
	PK      *Column
	Columns []*Column
}

func MakeTable

func MakeTable(v interface{}) *Table

func (*Table) CreateString

func (t *Table) CreateString() string

func (*Table) DropString

func (t *Table) DropString() string

func (*Table) InsertString

func (t *Table) InsertString() string

func (*Table) SelectString

func (t *Table) SelectString(selector string) string

func (*Table) UpdateString

func (t *Table) UpdateString() string

Jump to

Keyboard shortcuts

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