Yeah I've seen that - it's great, but imho this addition to jQuery would be even more intuitive and better suited for simple tasks.
On Sat, May 23, 2009 at 4:18 PM, DBJDBJ <[email protected]> wrote: > > Have you seen http://taffydb.com/ ? > > On May 22, 7:38 am, Paul Bakaus <[email protected]> wrote: > > Hey everyone, > > > > I today found out that you can use the attribute filter to filter for > keys > > in generic objects, which is *way* cool. Check this out: > > > > $([ > > { foo: 1, bar: 0 }, > > { foo: 0, bar: 0 } > > ]).not("[foo=0]") > > > > => returns [{ foo: 1, bar: 0 }] > > > > This is insanely useful if working with JSON or in general big data sets, > > and the only piece missing right now is better comparison methods. So I'd > > like to see "[foo>5]" working, for instance. > > > > What do you think? > > > > -- > > Paul Bakaus > > UI Architect > > --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus > > > -- Paul Bakaus UI Architect -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
