typicaljoe / taffydb

TaffyDB - an open source JavaScript Database for your browser
http://taffydb.com
MIT License
2.21k stars 285 forks source link

db().select() variable as select arguement #143

Open lunky84 opened 7 years ago

lunky84 commented 7 years ago

I can feed in one value in as a select argument but when I try with two it doesn't work.

Is there any way around this?

var output_fields = '"post_id" , "post_title"'; var output_array = report_data_taffy().select(output_fields);