Documentation
¶
Index ¶
- Variables
- func SELECT(table Table, fields ...SQLer) *_Select
- type Create
- type Delete
- type Dollar
- type Field
- func (f Field[V]) CreationSQL() string
- func (c *Field[V]) GetTarget() any
- func (c Field[V]) InnerJoin(joinField *tableField[V]) Join
- func (c Field[V]) InnerJoinAlias(joinField *tableField[V], alias string) Join
- func (f Field[V]) Is(value V) where
- func (f Field[V]) IsEqualOrGreaterThan(value V) where
- func (f Field[V]) IsEqualOrLessThan(value V) where
- func (f Field[V]) IsGreaterThan(value V) where
- func (f Field[V]) IsIn(value SQLer) where
- func (f Field[V]) IsLessThan(value V) where
- func (f Field[V]) IsNot(value V) where
- func (f Field[V]) Of(table Table) *tableField[V]
- func (c Field[V]) OuterJoin(joinField *tableField[V]) Join
- func (c Field[V]) OuterJoinAlias(joinField *tableField[V], alias string) Join
- func (f Field[V]) SQL() string
- func (f Field[V]) Set(value V) Field[V]
- func (f Field[V]) Type() string
- func (f Field[V]) ValueToSQL(pos int) string
- type Insert
- type Join
- type SQL
- type SQLer
- type Table
- type Update
Constants ¶
This section is empty.
Variables ¶
View Source
var ALL = all{}
Functions ¶
Types ¶
type Field ¶
type Field[V any] struct { Name string Nullable bool References *tableField[V] IsPrimaryKey bool Description string Value V MaxLength int IsAutoIncrement bool }
func (Field[V]) CreationSQL ¶
func (Field[V]) InnerJoinAlias ¶
func (Field[V]) IsEqualOrGreaterThan ¶
func (f Field[V]) IsEqualOrGreaterThan(value V) where
func (Field[V]) IsEqualOrLessThan ¶
func (f Field[V]) IsEqualOrLessThan(value V) where
func (Field[V]) IsGreaterThan ¶
func (f Field[V]) IsGreaterThan(value V) where
func (Field[V]) IsLessThan ¶
func (f Field[V]) IsLessThan(value V) where
func (Field[V]) OuterJoinAlias ¶
func (Field[V]) ValueToSQL ¶
Click to show internal directories.
Click to hide internal directories.