(PECL mongo >= 0.9.0)
MongoDBRef::isRef — Checks if an array is a database reference
This extension that defines this class is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this class in the new extension.
The concept of database references, and hence this class, has been deprecated.
This method does not actually follow the reference, so it does not determine if it is
broken or not. It merely checks that ref
is in valid
database reference format (in that it is an object or array with $ref and $id
fields).
ref
Array or object to check.
성공 시 TRUE
를, 실패 시 FALSE
를 반환합니다.