I'm running a design contest with my own money over at 99Designs.com in hopes that we can have a little more attractive site. If anyone wants to donate to help...
I posted through the TaffyDB site, but did not see an answer. Maybe it got lost, or Ian missed it. I would appreciate your thoughts, and perhaps inclusion of...
Hi All, I am using taffy 1.7.2 version. Can anyone let me know how to filter record between a specific range. eg: i want to filter records having price greater...
Hi all, I have a TaffyDB contained inside a complex object: var chardata = { name: 'Felonious', race_id: 1, ... weapons: [{ weapon_id: 15, }, { weapon_id: 39, ...
Hi, Can you let me know how to print array after filtering records using find function because find function returns indexes and we cant pass index to...
Hi I have 10 rows with these numbers 93.52 89.08 505.75 490.08 18500 152.15 116.10 -86.35 -75.70 -103.90 What I need it's to be able to sort them like that ...
Hi Irshad, There are three main methods that help you work with your data in TaffyDB. Find, Get, and forEach. First and Last are also version of get that only...
Hi Irshad, Find doesn't actually support what you are trying to do there, although it is hinting at syntax I'd like to support in the future. What you can do...
Hi Todd, What you are trying to do sounds reasonable. But I'd assembled your "object" first before you try and stringify. So let's say your JavaScript normally...
Don't know if it's a good practice but I do like that invoiceList=invoicesSearch.stringify(); resultData = new TAFFY(invoiceList); if ($("#field1").val() !=...
That's certainly doable although stringify can be pretty expensive to use as part of your normal workflow. It seems to me you may want to use a little of...
Try: fruits.find({water:{gt:80}},{water:{lt:90}}); On Tue, Aug 4, 2009 at 6:18 PM,...
Jonathan Buford
jonb@...
Aug 6, 2009 4:34 am
186
I think that did it. One problem I found was with direct assignment: Somehow saving transformed it from a TaffyDB into something else. So I cribbed a...
Hi, Just wondering if there's something like a save() method that does the equivalent of: skill = chardata['skills'].first({ skill_id: i }); if (!skill) { ...
Ahh, that would be cool. I'm trying to keep TaffyDB display/DOM agnostic. It may or may not exist for TaffyDB, but none of the features require it :-)...
Hi, my first. I have a xml , jquery xmltojson parse it, and I want to convet taffy, but not work. here is my code: var geonews = $.xml2json(data); //jquery...
Display/DOM agnostic is critical, of course. A cleaner example: table.save(key, obj); function save(key, obj) { found = this.first({ id: key }); if (!found) {...
... I don't know why, when I set var geonews = $.xml2json(data); //jquery code, convert xml2json data var json = new TAFFY(geonews); // taffy db code, but no...
Ahh, I think you need to do it a little differently. You need to do the following: $('#r2').html(dump($.xml2json(data))) Don't worry about Taffy at this point....
Do you have a copy of the XML you are trying to convert? It is really all about data format because of the XML doesn't turn into a structured set of javascript...
... I cut some form xml file. <?xml version="1.0" encoding="UTF-8"?> <geo_contents transactionStatus="0" contentType="escape-simple" activityStatus="0"...
Hello all, The print function of taffydb freezes the browser as there is a lot of amount of records. Is there any way to break the loop for printing the table...
TaffyDB doesn't officially have a print function. I assume you are trying to use the data grid example. How much data are you dealing with? How many records?...
Hi All, I have a collection with objects like this { name : 'myname', categories : [1,2,4] } Now, i'd like to find every object that has any one (or more) of a...
Yes, I am using the print function of data grid example. I have 200 – 1000 records. Is there any way to break the loop at regular intervals while printing...