MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / buildQueryWithTimeShift

Function buildQueryWithTimeShift

worker/db_test.go:607–609  ·  view source on GitHub ↗
(queryType types.QueryType, connID uint64, seqNo uint64, timeShift time.Duration, queries []string)

Source from the content-addressed store, hash-verified

605}
606
607func buildQueryWithTimeShift(queryType types.QueryType, connID uint64, seqNo uint64, timeShift time.Duration, queries []string) (query *types.Request, err error) {
608 return buildQueryEx(queryType, connID, seqNo, timeShift, proto.DatabaseID(""), queries)
609}
610
611func buildQueryEx(queryType types.QueryType, connID uint64, seqNo uint64, timeShift time.Duration, databaseID proto.DatabaseID, queries []string) (query *types.Request, err error) {
612 // get node id

Callers 1

TestSingleDatabaseFunction · 0.85

Calls 2

DatabaseIDTypeAlias · 0.92
buildQueryExFunction · 0.85

Tested by

no test coverage detected