API Reference

Collections.getCollectionByName

Use this method to get the id of the collection with a specific title.


Syntax

int collections.getCollectionByName ( int vhost = NULL, string collectionName = NULL )

Arguments

NameTypeRequiredDefault valueDescription
vhostintOptionalNULLThe vhost ID.
collectionNamestringOptionalNULLThe collection name to search for.

Sample Response

Code examples

0 comments

Be the first to comment on getCollectionByName.

Add a Comment

  • captcha