I am using TaffyDB (JavaScript library) and was able to successfully store my records into a database but I am having some trouble outputting the results in the correct format.
results().select("Name","Topic","Difficulty"))
This code would output my columns in alphabetical order. It would output as (Difficulty, Name, Topic) but I need to output it as ("Name, Topic, Difficulty"). I've tried looking at the documentation but I wasn't able to make a working solution.
should be
notice the extra ")" at the end.
I have tried using your code and it DOESNT return in an alphabetical order.
go to http://www.javascriptoo.com/taffydb and change the code inside the script to :