Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_READ_MODE_T(3)		   libmongoc		 MONGOC_READ_MODE_T(3)

Read Preference	Modes

SYNOPSIS
	  typedef enum {
	     MONGOC_READ_PRIMARY = (1 << 0),
	     MONGOC_READ_SECONDARY = (1	<< 1),
	     MONGOC_READ_PRIMARY_PREFERRED = (1	<< 2) |	MONGOC_READ_PRIMARY,
	     MONGOC_READ_SECONDARY_PREFERRED = (1 << 2)	| MONGOC_READ_SECONDARY,
	     MONGOC_READ_NEAREST = (1 << 3) | MONGOC_READ_SECONDARY,
	  } mongoc_read_mode_t;

DESCRIPTION
       This enum describes how reads should be dispatched. The default is MON-
       GOC_READ_PRIMARY.

       Please see the MongoDB website for a description	of Read	Preferences.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025		 MONGOC_READ_MODE_T(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_read_mode_t&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help