MONGOC_SERVER_...ECATION_ERRORS(3)

okay bestie, this is MONGOC_SERVER_...ECATION_ERRORS(3) from the libmongoc manual β€” yes, the title is truncated exactly like that, we’re not fixing it, iykyk πŸ’…

✨ SYNOPSIS ✨

void
mongoc_server_api_deprecation_errors (mongoc_server_api_t *api,
                                      bool deprecation_errors);

okay so this function sets whether or not to error on commands that are deprecated in this API version. That’s the whole vibe check: deprecated commands in this API version, and you’re choosing if they should error. 🫢

πŸŽ€ PARAMETERS πŸŽ€

  • api β€” A mongoc_server_api_t. That’s the API object you’re handing over, bestie.
  • deprecation_errors β€” Whether or not to error on commands that are deprecated. Literally the yes/no switch for deprecated-command errors. πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” yup, the whole squad πŸ’œ

2009-present, MongoDB, Inc. β€” periodt, protect the copyright πŸŽ€


k bye bestie πŸ’– β€” this page comes from libmongoc source/version 2.5.6, with footer date Oct 09, 202 (and then MONGOC_SERVER_...ECATION_ERRORS(3) is literally smushed right after it in the footer, no cap 😭).

πŸ“¦ where this page comes from