Skip to content

Instantly share code, notes, and snippets.

@chrishyle
Created July 14, 2009 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrishyle/147320 to your computer and use it in GitHub Desktop.
Save chrishyle/147320 to your computer and use it in GitHub Desktop.
Shared.store.findAll(SC.Query.create({recordType: Shared.UserGroup})).length()
0
Shared.store.findAll(Shared.UserGroup).length()
38
Shared.store.findAll(SC.Query.create({recordType: Shared.User})).length()
151
Shared.store.findAll(Shared.User).length()
151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment