top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

MongoDB: Command to get upload time for a file in gridFS ?

+1 vote
107 views
MongoDB: Command to get upload time for a file in gridFS ?
posted Jun 30, 2015 by Vikram Singh

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button
command to get upload time ,DateTime or timeTaken while uploading the file??...if DateTime then it can be retrieved easily but other one depends on net speed and you can code for it on server side if you use php,start to count sec until you receive true i.e. file uploaded and store this in document too.

Similar Questions
+1 vote

Query description: I have a collection name student_db and added a document in a collection with entries (name: "alok, age : 31 and profession: "xyz"). After inserting the document into student_db database, I want to add another (key:value ) pair i.e. salary: 50000.

Can someone help me out to resolve this problem ?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...