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 ()?

  1. if is_a ($ MongoDateObject, 'MongoDate')). (

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -