package
0.0.0-20231014214933-bf83fb330073
Repository: https://github.com/skyrin/go-lib.git
Documentation: pkg.go.dev
# Functions
DataGet performs select.
DataGetByPubIDDataTypeAndDataID fetch the specific record.
DataUpsert inserts a record, returning the version.
NewDataBulkInsert initializes and returns a new bulk insert for creating/updating pub data records.
NewSubDataBulk initializes and returns a new bulk updater for marking sub data as complete.
PubGet performs select.
PubGetByCode get by code.
PubGetBySubID get by sub id.
PubInsert inserts a record.
PubSetStatus updates the status.
SubDataCreateMissing creates records from the data table that are missing in the sub data table.
SubDataGet performs select.
SubDataGetBySubIDPubIDDataTypeAndDataIDForUpdate retrieves and locks the record for writing.
SubDataGetProcessable.
SubDataNewBulkUpsert initializes and returns a new bulk inserter that will update on conflict.
SubDataUpdateFromPub udpates the sub data record with the data record.
SubDataUpsert inserts a record.
SubGet performs select.
SubGetByCode get by code.
SubInsert inserts a record.
SubSetRetries set the retries.
SubSetStatus updates the status.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
DataBulkInsert optimized way to upsert records.
DataGetParam model.
PubGetParam model.
SubDataBulk optimized way to mark records as completed.
SubDataGetParam model.
SubGetParam model.