Merge branch 'mwolters/dataapi-adapter' of github.com:nosqlbench/nosqlbench into mwolters/dataapi-adapter

This commit is contained in:
Jonathan Shook
2024-05-10 16:39:24 -05:00
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
scenarios:
default:
insert_many: run driver=dataapi tags==blocks:insert_many cycles=1
blocks:
insert_many:
ops:
op1:
insert_many: "collectionName"
options:
chunkSize: "1000"
concurrency: "10"
ordered: "false"
documents:
- "{valid json here}"
- "{valid json here}"
- "{valid json here}"

View File

@@ -0,0 +1,10 @@
scenarios:
default:
insert_one: run driver=dataapi tags==blocks:insert_one cycles=1
blocks:
insert_one:
ops:
op1:
insert_one: "collectionName"
document: "{valid json here}"

View File

@@ -0,0 +1,11 @@
scenarios:
default:
insert_one: run driver=dataapi tags==blocks:insert_one cycles=1
blocks:
insert_one:
ops:
op1:
insert_one: "collectionName"
document: "{valid json here}"
vector: "1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0"