spaceuptech / space-api-python

Apache License 2.0
6 stars 3 forks source link

Need to support batch operations #4

Closed HeyItsJs closed 5 years ago

HeyItsJs commented 5 years ago

The grpc endpoint for batch operations is ready. Need to get that in client.

Here's how the batch API looks for javascript:

const batch = db.beginBatch();
batch.add(db.insert(col).docs(...docs));
batch.add(db.update(col).where(whereClause).set())

// Apply batch
batch.apply().then(res => ...).catch(ex => ...)

Same needs to be ported for python

HeyItsJs commented 5 years ago

Need to solve #3 first

AliabbasMerchant commented 5 years ago

@YourTechBud Please close this