... This looks neat! Any chance you'd be willing to post the code so I can see how you've made it? (Apologies if you've seen this message twice before... I...
You can view source to see the code. It is all inline JavaScript and there are some comments to show how it works. The DOM API I'm using is the 16 line...
Hi All, TaffyDB is amazing, but i have a problem that seems not to be possible in Taffy. I would like to do "relational"-queries on subobjects. An example: i...
Hi kioopi, You're write. There isn't a way to do that currently. I've been thinking along those lines though and came up with the idea of some kind of "has"...
Hi everyone, I've spent some time over the last couple of weeks trying to test and add indexes into Taffy DB. JavaScript is not designed for this type of ...
... Hi Ian, I'm new to Taffy, but what attracted me to it was that is a small but powerful application and it is not intended to be a real SQL type ...
After executing a find, I have my list of indexes. How do I use those indexes to extract the contents? Seems silly, but there is only one example, the...
Hey Marty, You've got a couple of options. By passing in an array to forEach it will call your function for each entry in that array. You can also pass in an...
This guy gets it: http://www.ajaxwith.com/Taffy-DB-for-Faster-Data-Processing.html Nothing useful, but just a good description of what Taffy DB is and why it...
I would also vote for NO on indexes. I think keeping it lightweight is one of the real nice features of Taffy. Though you could possibly add extensions to...
I have been curious about what you recommend as far as using Taffy when it relates to Row/Index ids. Here is example of what I would like to do. Output all of...
Hi Matt, I faced the same issue. With a bit of help from Ian, here's what worked for me: I'll have my taffy driven site up in the next couple of days and...
Hey Matt, Marty may have already answered your question but I thought I'd throw in my two cents. With the next version of Taffy I'm adding in some better...
Hi Ian, Returning the index in the foreach will be a great addition. In my application the foreach is always traversing a subset of the db and having the...
Thanks Marty and Ian for your help. I think including the index in the forEach is exactly what I was looking for, but if I am looping through the whole...
Matt, Yes, first is the preferred method for accessing one record. On paper it will be a little slower than array[arrayIndex] since it is designed to take an...
I have a column in my TAFFY DB that has a bunch of string date values such as "2008-07-01", "2008-08-01", etc. Using the orderBy, those values sort fine. The...
Hi all, I've very excited to introduce you all to Taffy DB 1.5. This version has several important features that have been requested by the folks on this list....
Ian, Thanks for the update. It is definitely nice to have the index value in the forEach loops. I seem to still be experiencing some oddities when it comes to...
Odd. I tested for null and undefined and they should come up as less than zero (sorted top or bottom depending on direction). Can you send me the orderBy...
Actually, the problem maybe be something else. The RAW value is the original copy of data you passed in, not the current version of that data. Try changing...
Matt requested a break option for forEach loops. I thought it was worth putting it on here in case anyone else had a comment. I can see a couple of different...
Returning a TAFFY object makes sense, but maybe something like TAFFY.exit or TAFFY.quit, since break is a reserved word. If you return something like a string...