Miscellaneous Functions

The following APIs perform specialized functions:

mco_db_register_collations
Registers collation functions with the runtime.
mco_system_get_current_time
Retrieves the operating system time.
mco_ticks2time
Converts datetime between the application's and database's resolution.
mco_time2ticks
Converts datetime between the application's and database's resolution.
mco_system_get_hi_res_freq
Retrieves the frequency of the high-resolution timer.
mco_system_get_hi_res_time
Retrieves the number of ticks elapsed since the high-resolution timer was started.
mco_set_system_get_current_time
Sets the function that returns the current time.
mco_open_file
Opens a file.
mco_core_load
Loads eXtremeDB libraries dynamically.
mco_core_is_loaded
Returns true if the core eXtremeDB dynamic libraries are loaded.
mco_begin_wait_event
Sets the current wait event type for profiling and diagnostics.
mco_end_wait_event
Clears the current wait event type for profiling and diagnostics.
mco_dict_version
Retrieves the current version number of the database schema (dictionary).