Re: [contacts] Comments on editors draft of Contacts API

On Nov 30, 2009, at 19:58 , Brian LeRoux wrote:
> We where going to look at a syntax such as: Contacts.find({name:'brian
> leroux'}, success, fail); (only supporting name until a future where
> more robust search is capable. this interface would be forwards
> compatible.)

How does the matching work in effect? If I Contacts.find({name: "br"}...) do I get "Brian Leroux" and "Britney Spears"? Nothing? Also "Chupa CaBRa"? In order? Or is this undefined?

--
Robin Berjon
  robineko  hired gun, higher standards
  http://robineko.com/

Received on Tuesday, 1 December 2009 14:26:34 UTC