Documentation
¶
Index ¶
- type Batch
- type Delete
- type Get
- type Insert
- type Request
- type SQL
- func (s *SQL) BeginBatch() *Batch
- func (s *SQL) Delete(col string) *Delete
- func (s *SQL) EditProfile(id string, values model.ProfileParams) (*model.Response, error)
- func (s *SQL) Get(col string) *Get
- func (s *SQL) GetOne(col string) *Get
- func (s *SQL) Insert(col string) *Insert
- func (s *SQL) LiveQuery(col string) *realtime.LiveQuery
- func (s *SQL) Profile(id string) (*model.Response, error)
- func (s *SQL) Profiles() (*model.Response, error)
- func (s *SQL) SignIn(email, password string) (*model.Response, error)
- func (s *SQL) SignUp(email, name, password, role string) (*model.Response, error)
- func (s *SQL) Update(col string) *Update
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Delete contains the methods for the delete operation
type Delete ¶
type Delete struct {
// contains filtered or unexported fields
}
Delete contains the methods for the delete operation
type Get ¶
type Get struct {
// contains filtered or unexported fields
}
Get contains the methods for the get operation
type Insert ¶
type Insert struct {
// contains filtered or unexported fields
}
Insert contains the methods for the create operation
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
SQL is the client responsible to commuicate with the SQL crud module
func (*SQL) BeginBatch ¶
BeginBatch returns a helper to fire a batch request
func (*SQL) EditProfile ¶
EditProfile fires a editProfile request
Click to show internal directories.
Click to hide internal directories.