Search the web
Sign In
New User? Sign Up
taffydb · TaffyDB Support and User Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 18 - 47 of 201   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
18
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 ...
tacoman_cool
Offline Send Email
Jun 2, 2008
7:19 pm
19
... 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 ...
madcitymm
Offline Send Email
Jun 2, 2008
10:07 pm
20
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...
madcitymm
Offline Send Email
Jun 4, 2008
4:13 am
21
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...
tacoman_cool
Offline Send Email
Jun 4, 2008
4:48 am
22
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...
tacoman_cool
Offline Send Email
Jun 5, 2008
9:38 pm
23
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...
berg.matt
Offline Send Email
Jun 11, 2008
12:18 am
24
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...
berg.matt
Offline Send Email
Jun 11, 2008
12:27 am
25
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...
madcitymm
Offline Send Email
Jun 11, 2008
2:27 am
26
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...
tacoman_cool
Offline Send Email
Jun 11, 2008
3:30 am
27
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...
madcitymm
Offline Send Email
Jun 11, 2008
1:57 pm
28
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...
berg.matt
Offline Send Email
Jun 12, 2008
6:27 am
29
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...
tacoman_cool
Offline Send Email
Jun 12, 2008
3:22 pm
30
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...
berg.matt
Offline Send Email
Jun 18, 2008
3:19 pm
31
Hey Matt, Good catch. I'm working on the next version right now and I'll take a look at rolling in a fix for nulls. Ian...
tacoman_cool
Offline Send Email
Jun 18, 2008
3:39 pm
32
Awesome. Thanks Ian....
berg.matt
Offline Send Email
Jun 18, 2008
5:00 pm
33
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....
tacoman_cool
Offline Send Email
Jun 19, 2008
6:52 pm
34
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...
berg.matt
Offline Send Email
Jun 19, 2008
9:30 pm
35
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...
tacoman_cool
Offline Send Email
Jun 19, 2008
9:34 pm
36
Ian, Here is a snippet of the code: // _data[_pageName].items is a TAFFY obj. YAHOO.log(_lang.JSON.stringify(_data[_pageName].items)); ...
berg.matt
Offline Send Email
Jun 19, 2008
10:29 pm
37
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...
tacoman_cool
Offline Send Email
Jun 19, 2008
11:04 pm
38
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...
tacoman_cool
Offline Send Email
Jun 19, 2008
11:37 pm
39
There is actually an error on the .get function. newTAFFYArray is not defined. Should return nT. Matt ... data....
berg.matt
Offline Send Email
Jun 20, 2008
6:24 pm
40
Also, I get the same output when using the .get method. For some reason the null is not sorting for me. Matt ... data....
berg.matt
Offline Send Email
Jun 20, 2008
6:26 pm
41
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...
berg.matt
Offline Send Email
Jun 20, 2008
6:31 pm
42
Just released. Fixed a number of bugs with 1.5 as well as with FireFox 3.0 (mostly warnings, but still). Give it a shot and let me know what you find. ...
tacoman_cool
Offline Send Email
Jun 22, 2008
6:29 pm
43
I think this may be fixed in v1.5.1. The problem is that different browsers implement sorting in JavaScript is different ways. Since nulls don't automatically...
tacoman_cool
Offline Send Email
Jun 22, 2008
6:34 pm
44
Looks like it is fixed. The null values are now sorting. When sorting 'asc', the null values come before actual values. I believe this is how most DBs would...
berg.matt
Offline Send Email
Jun 23, 2008
4:05 pm
45
The relevant code is on lines 379-383. You should probably be able to get the desired effect by switching the isNull and isUndefined calls to look at the...
tacoman_cool
Offline Send Email
Jun 23, 2008
4:19 pm
46
Ian, That idea works. Thanks for your help. Matt ... to make ... frustrating is ... seems to...
berg.matt
Offline Send Email
Jun 23, 2008
4:58 pm
47
I want to find all records that match "test_value > a AND test_value < b" some_db.find( { test_value:{gt:a}, test_value:{lt:b} } ); But as result I get the...
goodi_y
Offline
Jun 26, 2008
11:33 am
Messages 18 - 47 of 201   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help