Hi Amit,
You can create 10K queries using either prepared statement or raw
statement. After construction of query, execute them in a batch.
CassandraDriverObject.batch(arg1, arg2, cb) is the function for you.
This function takes following arguments:
- arg1 = An array of object.
Object structure: {query: 'select * from mytable
where column1=?', params: ['value1']}
- arg2 = An object with structure {hints: allQueryHints};
- allQueryhints is an array of hints for each query. A hint
for single query looks like: ['varchar']. Hence
allQueryhints will look like: [['varchar']]
To unsubscribe from this group and stop receiving emails from it,
send an email to nodejs-driver-u...@lists.datastax.com.
--
Best regards,
Gaurav Gupta
TERMS OF USE:
The contents of this email are confidential to the intended recipient at the email address to which it has been addressed. It may not be disclosed to or used by anyone other than this addressee, nor may it be copied in any way. If received in error, please contact Impressico Business Solutions, on +91-120-419-0000 quoting the name of the sender and the addressee and then delete it from your system. Please note that neither Impressico Business Solutions, nor the sender accepts any responsibility for viruses and it is your responsibility to scan the email and attachments (if any).