Thank you for quick response. Regarding the JSON issue, the new code is: JSON; // *** error line if (!JSON) { JSON = {}; } While this will work in newer...
2. The problem is in the line: } else if (T.isArray(var2)) { each(var2, function (v, n) { re = T.has(var1, var2[n]); if (re === true) { return TAFFY.EXIT; } ...
Patched in 2.2 to address these issues. 1. I found the issue with "!" and fixed it. 2. I couldn't find any issues with has. Do you have some example code of...
1. The "!" is not working properly, it seems that the following line is wrong: // get the match results based on the s/match type var r = ((s === "regex") ?...
Hi Charly, There are a couple of key API differences between the 1.X stack and 2.0. The main one is that your DB is now a function and you use that function to...
Hello, I just got the update from 1.7 to 2.0, and now my code is complaining about this two functions: "taffyObj.orderBy is not a function" "taffyObj.get is...
Ok, so I may have a fix you can try out. It may take a small amount of code rework. We are basiclly going to bypass the default look up by creating an...
Actually, I have one optimization that can be made right now to be more 2.0 ish. I don't think it is your speed problem though. I want to remove the "first"...
Hi Onno, Sorry to hear about the slowness. 2.0 makes a number of changes to how data is looked up and inserted although this seems like a slowness on lookup...
Hi I've implemented a TaffyDB 1.7.3 and I'm converting it to 2.0, but it is slow on inserting large amounts of data. This is my setup: - Server which sends...
258
taffydb-owner@yahoogr...
Sep 1, 2011 11:34 pm
Finally! Over the past couple of months I've been pushing to turn the idea of TaffyDB into a full on launched app. The site is new, the API is new. In fact,...
Hi there, is there a simple way to perform a search using several condition in OR in addition to AND? e.g. {name:{regex:/^Joh/i} OR lastname:{regex:/mith$/i} ...
That would be awesome Andrew. For everyone's information, I'm working on a 2.0 version of TaffyDB based on a recent project. It changes the API a little bit I...
It doesn't have a built in method but it would be very easy to do. Let's say you had a TaffyDB collection called "messages". You could save it to local storage...
Yes, that is correct, it try to build a solution where I could define for both axis (column and rows) the columns in an collection. Then the function should...
Thanks for the heads up on the site. The server it is on keeps crashing so I'm planning to move to a new server this week. As for your question, the data grid...
Hi, is there an example how grouping could be achieved. I would especially interested to see how it is possible to print a grid where the columns have group...
Stephan, Actually you're looking at a feature of JavaScript. Since an object {} can contain only one of any given key any duplicates are ignored. So...
Hi, I seem to be having a problem with the find method. I'm combining terms using the has operator, and expected them to be AND'd, but they seem to be...