MONGOC_CLIENT...PTS_SET_PREFIX(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

✨ mongoc_client_encryption_encrypt_text_opts_set_prefix ✨

okay so bestie, welcome to a libmongoc man page (section 3, as always) πŸ’– this one is short, sweet, and does exactly one thing: it sets the prefix options for text search encryption. no cap. πŸŽ€


🌸 SYNOPSIS

void
mongoc_client_encryption_encrypt_text_opts_set_prefix(
   mongoc_client_encryption_encrypt_text_opts_t *opts,
   mongoc_client_encryption_encrypt_text_prefix_opts_t *popts);

Added in version 2.2.0.

So basically it sets the prefix options for text search encryption. that's the whole vibe. πŸ¦‹

⚠️ GIRL. READ THIS ONE. FOR REAL. The "TextPreview" algorithm is in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). And the plot twist? The GA version of these features may not be backwards compatible with the preview version. so don't build your whole personality on it, okay? 😭

πŸŽ€ PARAMETERS

  • opts β€” a mongoc_client_encryption_encrypt_text_opts_t. the main character. πŸ‘‘
  • popts β€” a mongoc_client_encryption_encrypt_text_prefix_opts_t to set as the prefix options. the supporting role that's about to steal the show. πŸ’…

See also:

  • mongoc_client_encryption_encrypt_text_opts_new()
  • mongoc_client_encryption_encrypt_text_prefix_opts_new()

πŸ’œ Author

MongoDB, Inc

2009-present, MongoDB, Inc.


and that's the whole page, bestie πŸ’– no notes, it ate, periodt. this was libmongoc version 2.2.2, dated Feb 13, 2026 β€” mwah 🫢✨

πŸ“¦ where this page comes from