mymodel

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnsType

type ColumnsType struct {
	ColumnName             qb.Field
	DataType               qb.Field
	IsNullable             qb.Field
	CharacterMaximumLength qb.Field
	TableSchema            qb.Field
	TableName              qb.Field
	// contains filtered or unexported fields
}

ColumnsType represents the table "Columns"

func Columns

func Columns() *ColumnsType

Columns returns a new ColumnsType

func (*ColumnsType) Delete

func (t *ColumnsType) Delete(c1 qb.Condition, c ...qb.Condition) qb.Query

Delete creates a DELETE query

func (*ColumnsType) GetTable

func (t *ColumnsType) GetTable() *qb.Table

GetTable returns an object with info about the table

func (*ColumnsType) Insert

func (t *ColumnsType) Insert(f ...qb.Field) *qb.InsertBuilder

Insert starts an INSERT query

func (*ColumnsType) Select

func (t *ColumnsType) Select(f ...qb.Field) *qb.SelectBuilder

Select starts a SELECT query

func (*ColumnsType) Update

func (t *ColumnsType) Update() *qb.UpdateBuilder

Update starts an UPDATE query

type TablesType

type TablesType struct {
	TableName   qb.Field
	TableSchema qb.Field
	// contains filtered or unexported fields
}

TablesType represents the table "Tables"

func Tables

func Tables() *TablesType

Tables returns a new TablesType

func (*TablesType) Delete

func (t *TablesType) Delete(c1 qb.Condition, c ...qb.Condition) qb.Query

Delete creates a DELETE query

func (*TablesType) GetTable

func (t *TablesType) GetTable() *qb.Table

GetTable returns an object with info about the table

func (*TablesType) Insert

func (t *TablesType) Insert(f ...qb.Field) *qb.InsertBuilder

Insert starts an INSERT query

func (*TablesType) Select

func (t *TablesType) Select(f ...qb.Field) *qb.SelectBuilder

Select starts a SELECT query

func (*TablesType) Update

func (t *TablesType) Update() *qb.UpdateBuilder

Update starts an UPDATE query

Jump to

Keyboard shortcuts

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