MONGOC_SERVER_...ST_UPDATE_TIME(3)

πŸ’… MONGOC_SERVER_...ST_UPDATE_TIME(3) πŸ’…

okay bestie, welcome to the libmongoc manual πŸ’– this page is short and sweet: it’s all about asking a server description, β€œhey, when were you last updated?” πŸ•°οΈβœ¨


✨ SYNOPSIS ✨

int64_t
mongoc_server_description_last_update_time (const mongoc_server_description_t *description);

πŸŽ€ PARAMETERS πŸŽ€

  • description β€” a mongoc_server_description_t. that’s the server description you’re asking, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This function gets the last point in time when we processed a hello for this server. ⏰ If we haven’t processed any hellos since the description was created, then it gives you the time the server description was initialized instead. literally the β€œlast touched” timestamp energy πŸ’…

🌸 RETURNS 🌸

The server’s last update time, in microseconds. ⭐

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


cute little sign-off: this page is from libmongoc version 2.5.6, dated Oct 09, 202… (the final digit is doing a disappearing act in the source footer πŸ™ˆ). bye bestie, go timestamp something iconic πŸ’–βœ¨

πŸ“¦ where this page comes from