<commit_before>var MongoClient = require('mongodb').MongoClient;
var assert = require('assert');

var url = 'mongodb://localhost:27017/connected-cars';

module.exports = {
    search: function (db) {
        var query = { address: "Argentona" };
        db.collection("connections").find(query).toArray(function(err, result) {
          if (err) throw err;
          console.log(result);
        });
    },
    connect: function () {
        MongoClient.connect(url, function(err, db) {
            assert.equal(null, err);
            console.log("Connected successfully to server");<commit_msg>Correcting Git<commit_after>var MongoClient = require('mongodb').MongoClient;
var assert = require('assert');

var url = 'mongodb://localhost:27017/connected-cars';

module.exports = {
    search: function (db) {
        var query = { address: "Barcelona" };
        db.collection("connections").find(query).toArray(function(err, result) {
          if (err) throw err;
          console.log(result);
        });
    },
    connect: function () {
        MongoClient.connect(url, function(err, db) {
            assert.equal(null, err);
            console.log("Connected successfully to server");
{'fraction_non_alphanumeric': 0.14752724224643754, 'fraction_numerical': 0.008382229673093043, 'mean_word_length': 2.9019607843137254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1299598', 'n_tokens_mistral': 356, 'n_tokens_neox': 337, 'n_words': 70}