logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Deprecated since version 1.24.0: Use mongoc_apm_command_succeeded_get_server_connection_id_int64()

Author

       MongoDB, Inc

Parameters

event: A mongoc_apm_command_succeeded_t.

Returns

       The server connection ID as a positive integer or -1 if it is not available.

       SEEALSO:IntroductiontoApplicationPerformanceMonitoring

Synopsis

          int32_t
          mongoc_apm_command_succeeded_get_server_connection_id (
            const mongoc_apm_command_succeeded_t *event);

       Returns the server connection ID for the command. The server connection ID is distinct from the server ID
       (mongoc_apm_command_succeeded_get_server_id()) and is returned by the hello or legacy hello  response  as
       "connectionId" from the server on 4.2+.

Warning:

          Deprecated  since  version  1.24.0:  Use mongoc_apm_command_succeeded_get_server_connection_id_int64()
          instead.

See Also