<commit_before>:- module(mongo,
    [
        version/1
        % And see reexports below.
    ]).

/** <module> MongoDB driver.
 *
 *  Provides connection management and wraps the MongoDB API.
 *
 *  @see <http://www.mongodb.org/>
 */

:- reexport(mongo(mongo_connection),
    [
        new_connection/1,
        new_connection/3,
        free_connection/1,
        get_database/3
    ]).
:- reexport(mongo(mongo_database),
    [
        get_collection/3
    ]).
:- reexport(mongo(mongo_collection),
    [
        collection_database/2
    ]).
:- reexport(mongo(mongo_find),
    [
        find_one/3,
        find_one/4,
        find_all/4,
        find/7,
        find/8
    ]).
:- reexport(mongo(mongo_cursor),
    [
        cursor_kill/1,
        cursor_kill_batch/1,
        cursor_get_more/4,
        cursor_has_more/1,
        cursor_exhaust/2
    ]).
:- reexport(mongo(mongo_insert),
    [
        insert/2,
        insert_batch/3
    ]).
:- reexport(mongo(mongo_update),
    [
        upsert/3,
        update/3,
        update_all/3
    ]).
:- reexport(mongo(mongo_delete),
    [
        delete/2,
        delete/3
    ]).
:- reexport(mongo(mongo_command),
    [
        command/3,
        list_commands/2,
        list_collection_names/2,
        list_database_infos/2,
        list_database_names/2,
        drop_collection/1,
        drop_database/1,
        get_last_error/2
    ]).

:- include(misc(common)).

%%  version(?Version) is semidet.
%
%   True if Version is a list representing the major, minor
%   and patch version numbers of this library.

version([0,0,1]).<commit_msg>Bump mongo version to 1.0.0.<commit_after>:- module(mongo,
    [
        version/1
        % And see reexports below.
    ]).

/** <module> MongoDB driver.
 *
 *  Provides connection management and wraps the MongoDB API.
 *
 *  @see <http://www.mongodb.org/>
 */

:- reexport(mongo(mongo_connection),
    [
        new_connection/1,
        new_connection/3,
        free_connection/1,
        get_database/3
    ]).
:- reexport(mongo(mongo_database),
    [
        get_collection/3
    ]).
:- reexport(mongo(mongo_collection),
    [
        collection_database/2
    ]).
:- reexport(mongo(mongo_find),
    [
        find_one/3,
        find_one/4,
        find_all/4,
        find/7,
        find/8
    ]).
:- reexport(mongo(mongo_cursor),
    [
        cursor_kill/1,
        cursor_kill_batch/1,
        cursor_get_more/4,
        cursor_has_more/1,
        cursor_exhaust/2
    ]).
:- reexport(mongo(mongo_insert),
    [
        insert/2,
        insert_batch/3
    ]).
:- reexport(mongo(mongo_update),
    [
        upsert/3,
        update/3,
        update_all/3
    ]).
:- reexport(mongo(mongo_delete),
    [
        delete/2,
        delete/3
    ]).
:- reexport(mongo(mongo_command),
    [
        command/3,
        list_commands/2,
        list_collection_names/2,
        list_database_infos/2,
        list_database_names/2,
        drop_collection/1,
        drop_database/1,
        get_last_error/2
    ]).

:- include(misc(common)).

%%  version(?Version) is semidet.
%
%   True if Version is a list representing the major, minor
%   and patch version numbers of this library.

version([1,0,0]).
{'fraction_non_alphanumeric': 0.1279975085643102, 'fraction_numerical': 0.02273435066957334, 'mean_word_length': 1.8989169675090252, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1311704', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1110, 'n_words': 167}