Documentation ¶
Index ¶
- type CRUD
- type EmptySchemaJournalist
- func (empty *EmptySchemaJournalist) CreateField(relationName string, field *relation.Field) error
- func (empty *EmptySchemaJournalist) CreateRelation(name string) error
- func (empty *EmptySchemaJournalist) DeleteField(relationName string, fieldname string) error
- func (empty *EmptySchemaJournalist) DeleteRelation(name string) error
- type Record
- func (rec *Record) Add(field string, op query.OpType, rhs string) error
- func (rec *Record) AddNumber(field string, op query.OpType, rhs float32) error
- func (rec *Record) AddOr(field string, op query.OpType, rhs string) error
- func (rec *Record) AddOrNumber(field string, op query.OpType, rhs float32) error
- func (rec *Record) AddPrimaryKey(id string) error
- func (rec *Record) AndGroup() error
- func (rec *Record) Delete() error
- func (rec *Record) Get(field string) (string, error)
- func (rec *Record) GetMap() *RecordMap
- func (rec *Record) Insert() (string, error)
- func (rec *Record) MarshalJSON() ([]byte, error)
- func (rec *Record) Next() (bool, error)
- func (rec *Record) Not()
- func (rec *Record) OrGroup() error
- func (rec *Record) Query() error
- func (rec *Record) RelationName() string
- func (rec *Record) Set(field string, value interface{})
- func (rec *Record) Update() error
- type RecordMap
- func (recmap *RecordMap) Combine(other *RecordMap) *RecordMap
- func (recmap *RecordMap) Get(key string) (string, error)
- func (recmap *RecordMap) GetBool(key string) (bool, error)
- func (recmap *RecordMap) GetNumber(key string) (float32, error)
- func (recmap *RecordMap) Has(key string) bool
- func (recmap *RecordMap) MarshalJSON() ([]byte, error)
- func (recmap *RecordMap) Put(key string, value interface{})
- func (recmap *RecordMap) Type(key string) (relation.FieldType, error)
- type SchemaJournalist
- type SchemaManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptySchemaJournalist ¶
type EmptySchemaJournalist struct { }
func (*EmptySchemaJournalist) CreateField ¶
func (empty *EmptySchemaJournalist) CreateField(relationName string, field *relation.Field) error
func (*EmptySchemaJournalist) CreateRelation ¶
func (empty *EmptySchemaJournalist) CreateRelation(name string) error
func (*EmptySchemaJournalist) DeleteField ¶
func (empty *EmptySchemaJournalist) DeleteField(relationName string, fieldname string) error
func (*EmptySchemaJournalist) DeleteRelation ¶
func (empty *EmptySchemaJournalist) DeleteRelation(name string) error
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
func (*Record) AddOrNumber ¶
func (*Record) AddPrimaryKey ¶
func (*Record) MarshalJSON ¶
func (*Record) RelationName ¶
type RecordMap ¶
type RecordMap struct {
Data map[string]interface{}
}
func NewRecordMap ¶
func NewRecordMap() *RecordMap
func (*RecordMap) MarshalJSON ¶
type SchemaJournalist ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.