Thanks a lot Ian !!. This one is working. Yes you r right, use of flat collection will be better because I may not be able to access some features likewise you...
Bharat Maheriya
bharat@...
4:51 pm
220
To be honest it has been a while since I've tried to do something like that. But I "think" this will work: ...
Hello Ian, Thanks for your answer. I have one more problem How to perfom not equal to condition (person_id is not equal to 1) for example below ...
Bharat Maheriya
bharat@...
Dec 4, 2009 3:28 pm
218
Hello Ian, Thank you very much.!!! IT working for me now. thanks again for your help. I really appreciate ! I m enjoying working with Taffy DB. J Best...
Bharat Maheriya
bharat@...
Dec 4, 2009 3:28 pm
217
At the end of my second "Taffy day" I can report that I am very pleased with the performance. I created a little CVS file with 1.000 faked records each with 5...
Hi Bharat, In your example code: taffyObj.find({"x":{"id":"2"}}) Your using the equivalent of an equals match which only works for comparing simple values...
Hey Frank, You sound like me when I play around with a heavily oo language :-) I always feel obstructed by the classiness from doing what I want to do. An...
Hello Ian, this stupid JavaScript with its idiotic and inconsistent syntax drives me mad: When I change my code example in my previous post to: var newRec =...
Hello Ian, another two little questions: 1) I am trying to add Arrays with key/value pairs to a TaffyDB as this the natural construct that one receives wgen...
Hello All I have taffy collection like [{"x":{"id":"2","name:test"},"Y":{"id":"4","gender":"male"}}] I need to find record for x(which is array) where id=2 , ...
Bharat Maheriya
bharat@...
Dec 3, 2009 5:08 pm
211
Thanks a lot. I looked it up. I wasn't aware of such system stuff - and I keep a safe distance from such issues. I am in applications and C-like hacking is not...
Frank, Excellent, glad you are going to give it a go. Let us know what feedback you have. Briefly I wanted to attempt to explain closure as well as it is a...
Hello Ian, First of all, thank you very much for your *extremely quick* and *extremely detailed* response! I appreciate that very much ! My compliments. ... ...
That's actually how I use it when working with database. I download the relevant part of the table and import it into TaffyDB with the ID column. I think build...
Hi Frank, 1. The data is held via a closure as an internal variable. This has advantages and disadvantages, but the primary advantage is that the data is...
Hello Ian, well, I have not yet really any experience with Taffy and only four months in JS (after >20 yrs in pure o-o worlds). I think that any professional...
Hello Ian, I am still quite new to JavaScript (only 4 months in JS, after >20 yrs in pure o-o systems) and I have played with TaffyDB for about a day. It would...
in the taffy,it provides a method of "find" to help us to use,such it like this ,taffy.find({food:{like:"A"},fiber:{gt:1}}).when i set The method of the...
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...
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...
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?...
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...
... I cut some form xml file. <?xml version="1.0" encoding="UTF-8"?> <geo_contents transactionStatus="0" contentType="escape-simple" activityStatus="0"...
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...
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....
... 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...
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) {...