MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / pushDataByValues

Function pushDataByValues

tx_list_test.go:35–39  ·  view source on GitHub ↗
(t *testing.T, db *DB, bucket string, key int, isLeft bool, values ...int)

Source from the content-addressed store, hash-verified

33}
34
35func pushDataByValues(t *testing.T, db *DB, bucket string, key int, isLeft bool, values ...int) {
36 for _, v := range values {
37 txPush(t, db, bucket, testutils.GetTestBytes(key), testutils.GetTestBytes(v), isLeft, nil, nil)
38 }
39}
40
41func TestTx_RPush(t *testing.T) {
42 bucket := "bucket"

Callers 3

TestTx_LRemFunction · 0.85
TestTx_LRemByIndexFunction · 0.85
TestTx_LKeysFunction · 0.85

Calls 2

GetTestBytesFunction · 0.92
txPushFunction · 0.85

Tested by

no test coverage detected