Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigQueryClient ¶
type BigQueryClient struct {
ProjectID string
}
BigQueryClient The wrapper of BigQuery client
func (*BigQueryClient) GetRowsFromSQL ¶
func (c *BigQueryClient) GetRowsFromSQL(sql string) [][]bigquery.Value
GetRowsFromSQL Get the result rows from SQL
func (*BigQueryClient) InsertRows ¶
func (c *BigQueryClient) InsertRows(dataSet string, table string, rows interface{})
InsertRows Insert rows to table
type FireStoreClient ¶
FireStoreClient The fire store client
func (*FireStoreClient) BatchInsert ¶ added in v2.3.0
func (c *FireStoreClient) BatchInsert(docs []interface{}) (allIds []string)
BatchInsert - Batch insert
func (*FireStoreClient) Get ¶ added in v2.1.0
func (c *FireStoreClient) Get(id string) *firestore.DocumentSnapshot
Get ...
func (*FireStoreClient) Set ¶ added in v2.1.0
func (c *FireStoreClient) Set(id string, data interface{})
Set ...
Click to show internal directories.
Click to hide internal directories.