Documentation ¶
Index ¶
- func DestroyClient(client *Client) error
- type Client
- func (c *Client) AutoMigrate(req *client.AutoMigrateRequest) error
- func (c *Client) CommonCount(req *client.CommonCountRequest) (string, int64, error)
- func (c *Client) CommonCountEvent(req *client.CommonCountEventRequest) (string, int64, error)
- func (c *Client) CommonCountEventHistory(req *client.CommonCountEventRequest) (string, int64, error)
- func (c *Client) CommonEventHistoryQuery(req *client.CommonEventQueryRequest) (string, []client.EventInfo, int64, error)
- func (c *Client) CommonEventHistoryQueryOnly(req *client.CommonEventQueryRequest) (string, []client.EventInfo, error)
- func (c *Client) CommonEventQuery(req *client.CommonEventQueryRequest) (string, []client.EventInfo, int64, error)
- func (c *Client) CommonEventQueryOnly(req *client.CommonEventQueryRequest) (string, []client.EventInfo, error)
- func (c *Client) CommonQuery(req *client.CommonQueryRequest) (string, []client.TableRow, int64, error)
- func (c *Client) CommonQueryOnly(req *client.CommonQueryRequest) (string, []client.TableRow, error)
- func (c *Client) CountEventByKeys(req *client.CountEventByKeysRequest) (string, int64, error)
- func (c *Client) CountEventHistoryByKeys(req *client.CountEventByKeysRequest) (string, int64, error)
- func (c *Client) CountWhere(req *client.CountWhereRequest) (string, int64, error)
- func (c *Client) Delete(req *client.DeleteRequest) (string, error)
- func (c *Client) DeleteWhere(req *client.DeleteWhereRequest) (string, error)
- func (c *Client) EventHistoryQueryByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, int64, error)
- func (c *Client) EventHistoryQueryOnlyByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, error)
- func (c *Client) EventQueryByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, int64, error)
- func (c *Client) EventQueryOnlyByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, error)
- func (c *Client) Insert(req *client.InsertRequest) (string, error)
- func (c *Client) InsertBatch(req *client.InsertBatchRequest) (string, error)
- func (c *Client) QueryByKeys(req *client.QueryByKeysRequest) (string, *client.TableRow, error)
- func (c *Client) QueryByWhereAndOrderBy(req *client.QueryByWhereAndOrderByRequest) (string, []client.TableRow, int64, error)
- func (c *Client) QueryOnlyByWhereAndOrderBy(req *client.QueryByWhereAndOrderByRequest) (string, []client.TableRow, error)
- func (c *Client) Replay(req *client.ReplayRequest) (string, error)
- func (c *Client) Transaction(txFunc client.TransactionFunc) error
- func (c *Client) Update(req *client.UpdateRequest) (string, error)
- func (c *Client) UpdateWhere(req *client.UpdateWhereRequest) (string, error)
- type Transaction
- func (tx *Transaction) DeleteTx(req *client.DeleteRequest) (string, error)
- func (tx *Transaction) DeleteWhereTx(req *client.DeleteWhereRequest) (string, error)
- func (tx *Transaction) InsertBatchTx(req *client.InsertBatchRequest) (string, error)
- func (tx *Transaction) InsertTx(req *client.InsertRequest) (string, error)
- func (tx *Transaction) UpdateTx(req *client.UpdateRequest) (string, error)
- func (tx *Transaction) UpdateWhereTx(req *client.UpdateWhereRequest) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyClient ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AutoMigrate ¶
func (c *Client) AutoMigrate(req *client.AutoMigrateRequest) error
func (*Client) CommonCount ¶
func (*Client) CommonCountEvent ¶
func (*Client) CommonCountEventHistory ¶
func (*Client) CommonEventHistoryQuery ¶
func (*Client) CommonEventHistoryQueryOnly ¶
func (*Client) CommonEventQuery ¶
func (*Client) CommonEventQueryOnly ¶
func (*Client) CommonQuery ¶
func (*Client) CommonQueryOnly ¶
func (*Client) CountEventByKeys ¶
func (*Client) CountEventHistoryByKeys ¶
func (*Client) CountWhere ¶
func (*Client) DeleteWhere ¶ added in v1.6.6
func (c *Client) DeleteWhere(req *client.DeleteWhereRequest) (string, error)
func (*Client) EventHistoryQueryByKeys ¶
func (*Client) EventHistoryQueryOnlyByKeys ¶
func (*Client) EventQueryByKeys ¶
func (*Client) EventQueryOnlyByKeys ¶
func (*Client) InsertBatch ¶
func (c *Client) InsertBatch(req *client.InsertBatchRequest) (string, error)
func (*Client) QueryByKeys ¶
func (*Client) QueryByWhereAndOrderBy ¶
func (*Client) QueryOnlyByWhereAndOrderBy ¶
func (*Client) Transaction ¶
func (c *Client) Transaction(txFunc client.TransactionFunc) error
func (*Client) UpdateWhere ¶ added in v1.7.0
func (c *Client) UpdateWhere(req *client.UpdateWhereRequest) (string, error)
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) DeleteTx ¶
func (tx *Transaction) DeleteTx(req *client.DeleteRequest) (string, error)
func (*Transaction) DeleteWhereTx ¶ added in v1.6.6
func (tx *Transaction) DeleteWhereTx(req *client.DeleteWhereRequest) (string, error)
func (*Transaction) InsertBatchTx ¶
func (tx *Transaction) InsertBatchTx(req *client.InsertBatchRequest) (string, error)
func (*Transaction) InsertTx ¶
func (tx *Transaction) InsertTx(req *client.InsertRequest) (string, error)
func (*Transaction) UpdateTx ¶
func (tx *Transaction) UpdateTx(req *client.UpdateRequest) (string, error)
func (*Transaction) UpdateWhereTx ¶ added in v1.7.0
func (tx *Transaction) UpdateWhereTx(req *client.UpdateWhereRequest) (string, error)
Click to show internal directories.
Click to hide internal directories.