return value
Success: Return the objects of the specified collection.
Failure: Throw an exception.
error
getCL()
Common exceptions of functions are as follows:
version
v1.0 and above.
Example
-
Returns the reference of the collection employee in the collection space sample.
var cl = db.sample.getCL( "employee" )
For more information, please click on the official website of Jushan Database