javascript - Select query usingTaffyDB not working -
i'm starting play around taffydb , it's acting funny...and don't know if that's because i'm doing wrong or what.
<html> <head> <script src="taffydb-master/taffy.js"></script> </head> <body> <script> var people = taffy([{name:"george", address:"foobar st."}, {name:"carl", address: "foo st."}, {name: "kyle", address:"baz st."}]); document.write(people().first()); </script> </body> </html>
this returns , don't know why. want return whole thing.
[object object]
any suggestions?
Comments
Post a Comment