Re: MongoDB\Driver\CursorId::getTimestamp() ?

From: Derick Rethans <derick@xxxxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Sun, 24 Apr 2016 10:01:19 +0100 (BST)
Why ads?
On Sat, 23 Apr 2016, Момчил Божинов wrote:

I am missing a method in the new PHP driver

it used to be gettimestamp 
<http://docs.php.net/manual/en/mongoid.gettimestamp.php> and functionality 
seems to be missing

Tried searching in mongo-php-library-master but search came up empty

This feature request is being tracked at 
https://jira.mongodb.org/browse/PHPC-552 and ;
https://jira.mongodb.org/browse/HHVM-216

You can workaround it currently, as is shown at:
https://github.com/alcaeus/mongo-php-adapter/blob/ef2f253ba47e376ba220ba1cde753c99a51e2705/lib/Mongo/MongoId.php#L174

cheers,
Derick

-- 
{
  website: [ "http://mongodb.org", "http://derickrethans.nl" ;],
  twitter: [ "@derickr", "@mongodb" ]
}

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/alpine.DEB.2.20.1604240958540.3391%40whisky.home.derickrethans.nl.
For more options, visit https://groups.google.com/d/optout.
Why ads?