mongodb - How do you check if a PHP object is a MongoDate object? -
Is there a function like MongoId :: isValid ($ id)? How do you determine if an object is a MongoDate object? If $ mongoDateObject- & gt; Secs ()?
-
if is_a ($ MongoDateObject, 'MongoDate')). (
Comments
Post a Comment