dpsv1

package
v1.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestroyClient

func DestroyClient(client *Client) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(address string, databaseID string) (*Client, error)

func (*Client) AutoMigrate

func (c *Client) AutoMigrate(req *client.AutoMigrateRequest) error

func (*Client) CommonCount

func (c *Client) CommonCount(req *client.CommonCountRequest) (string, int64, error)

func (*Client) CommonCountEvent

func (c *Client) CommonCountEvent(req *client.CommonCountEventRequest) (string, int64, error)

func (*Client) CommonCountEventHistory

func (c *Client) CommonCountEventHistory(req *client.CommonCountEventRequest) (string, int64, error)

func (*Client) CommonEventHistoryQuery

func (c *Client) CommonEventHistoryQuery(req *client.CommonEventQueryRequest) (string, []client.EventInfo, int64, error)

func (*Client) CommonEventHistoryQueryOnly

func (c *Client) CommonEventHistoryQueryOnly(req *client.CommonEventQueryRequest) (string, []client.EventInfo, error)

func (*Client) CommonEventQuery

func (c *Client) CommonEventQuery(req *client.CommonEventQueryRequest) (string, []client.EventInfo, int64, error)

func (*Client) CommonEventQueryOnly

func (c *Client) CommonEventQueryOnly(req *client.CommonEventQueryRequest) (string, []client.EventInfo, error)

func (*Client) CommonQuery

func (c *Client) CommonQuery(req *client.CommonQueryRequest) (string, []client.TableRow, int64, error)

func (*Client) CommonQueryOnly

func (c *Client) CommonQueryOnly(req *client.CommonQueryRequest) (string, []client.TableRow, error)

func (*Client) CountEventByKeys

func (c *Client) CountEventByKeys(req *client.CountEventByKeysRequest) (string, int64, error)

func (*Client) CountEventHistoryByKeys

func (c *Client) CountEventHistoryByKeys(req *client.CountEventByKeysRequest) (string, int64, error)

func (*Client) CountWhere

func (c *Client) CountWhere(req *client.CountWhereRequest) (string, int64, error)

func (*Client) Delete

func (c *Client) Delete(req *client.DeleteRequest) (string, error)

func (*Client) DeleteWhere added in v1.6.6

func (c *Client) DeleteWhere(req *client.DeleteWhereRequest) (string, error)

func (*Client) EventHistoryQueryByKeys

func (c *Client) EventHistoryQueryByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, int64, error)

func (*Client) EventHistoryQueryOnlyByKeys

func (c *Client) EventHistoryQueryOnlyByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, error)

func (*Client) EventQueryByKeys

func (c *Client) EventQueryByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, int64, error)

func (*Client) EventQueryOnlyByKeys

func (c *Client) EventQueryOnlyByKeys(req *client.EventQueryByKeysRequest) (string, []client.EventInfo, error)

func (*Client) Insert

func (c *Client) Insert(req *client.InsertRequest) (string, error)

func (*Client) InsertBatch

func (c *Client) InsertBatch(req *client.InsertBatchRequest) (string, error)

func (*Client) QueryByKeys

func (c *Client) QueryByKeys(req *client.QueryByKeysRequest) (string, *client.TableRow, error)

func (*Client) QueryByWhereAndOrderBy

func (c *Client) QueryByWhereAndOrderBy(req *client.QueryByWhereAndOrderByRequest) (string, []client.TableRow, int64, error)

func (*Client) QueryOnlyByWhereAndOrderBy

func (c *Client) QueryOnlyByWhereAndOrderBy(req *client.QueryByWhereAndOrderByRequest) (string, []client.TableRow, error)

func (*Client) Replay

func (c *Client) Replay(req *client.ReplayRequest) (string, error)

func (*Client) Transaction

func (c *Client) Transaction(txFunc client.TransactionFunc) error

func (*Client) Update

func (c *Client) Update(req *client.UpdateRequest) (string, 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL