Skip to content

Instantly share code, notes, and snippets.

@A
Created February 11, 2014 19:58
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 A/8942884 to your computer and use it in GitHub Desktop.
Save A/8942884 to your computer and use it in GitHub Desktop.
.send({
session_key: session_key,
name: 'sup', // не работает еще
page: 1, // default value
per_page: 40, // default value
sort: {
create_at: -1,
users: 1 // не проверял
// Можно указывать и другие поля. Они передаются напрямую драйверу в .sort()
},
filter: {
filled: true, // Фильтровать заполненные
privated: true, // Фильтровать приватные
countOnly: false // не работает
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment