dmanjunath / node-redshift

A simple collection of tools to help you get started with Amazon Redshift from node.js
69 stars 48 forks source link

How do I pass multiple records in to create function? #7

Closed sfbenedict closed 7 years ago

sfbenedict commented 7 years ago

Can you give an example of passing multiple records in to the create function.

I tried [{'abc':123},{'abc':123}]

Thanks great work!

dmanjunath commented 7 years ago

I pushed up a patch that should allow you to pass in an array now with this commit https://github.com/dmanjunath/node-redshift/commit/500071ec91ced0472c13e6625a92ea6309f317ed. I'm working on some other connection issue bugs and adding the next set of features and I'll do a release on npm hopefully by the end of the week. Thanks for the feedback!