Documentation
¶
Index ¶
- type Postgres
- func (p *Postgres) Cast(value string, q *crud.QueryParam) (err error)
- func (p *Postgres) Format(r *crud.CRUD, q *crud.QueryParam) (*crud.QueryParam, error)
- func (*Postgres) IsArray(value string) ([]string, bool)
- func (*Postgres) IsRange(znak, value string) ([]string, bool)
- func (p *Postgres) Pattern() string
- func (p *Postgres) Query(q *crud.QueryParams, columns []string) (query string, values []any)
- func (*Postgres) SetFloat32Array(array []string) (a []float32)
- func (*Postgres) SetFloat64Array(array []string) (a []float64)
- func (*Postgres) SetInt32Array(array []string) (a []int)
- func (*Postgres) SetInt64Array(array []string) (a []int64)
- func (*Postgres) SetTimeArray(array []string, layout string) (a []time.Time)
- func (*Postgres) SetUInt64Array(array []string) (a []uint64)
- func (*Postgres) SetUIntArray(array []string) (a []uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct{}
func (*Postgres) Cast ¶
func (p *Postgres) Cast(value string, q *crud.QueryParam) (err error)
Cast Приведение переменной к типу данных
func (*Postgres) Format ¶
func (p *Postgres) Format(r *crud.CRUD, q *crud.QueryParam) (*crud.QueryParam, error)
func (*Postgres) SetFloat32Array ¶
func (*Postgres) SetFloat64Array ¶
func (*Postgres) SetInt32Array ¶
func (*Postgres) SetInt64Array ¶
func (*Postgres) SetTimeArray ¶
func (*Postgres) SetUInt64Array ¶
func (*Postgres) SetUIntArray ¶
Click to show internal directories.
Click to hide internal directories.