Hi! Taffy DB is a great piece of software! I'm testing to use it in a CDRom project against a database with about 15k records. There are some simple method I...
I think I understand what you are trying to do and you don't need to use Eval for it. This should work: var year = 2006; var city = "New York"; var rsltSet =...
I added a new example application to show how to use TaffyDB in the real world. I hope to add more of these in the future so let me know what you are looking...
I know that you have the "contains" option, but what about finding records with an empty array? I have tried a few options that don't seem to work. Thanks, ...
Hi Matt, You know, I don't think you can do that natively....but it may be a good thing to add. One thing you can do currently is create a new column with...
Ian, Adding the ability to find by length sounds like the perfect solution, especially if it is flexible for both arrays and strings. What you have envisioned...
Hey Matt, I dropped another release that I think will address your issue. Download the latest on taffydb.com There should now be a couple of ways of finding an...
That is awesome. While I didn't request this, it is a welcome addition. Thanks for your prompt attention to this deficiency. -Don...
Don Smith
donwsmith@...
Apr 30, 2008 5:09 pm
10
Ian, Thanks for the prompt response. It works perfectly. Not to be the only one to keep requesting things, but a greater than or equal might be a nice...
Matt, Yeah, I thought about doing that. I guess I was afraid it would add to much complication. My theory was that if someone needed to do it they could also...
... 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...