<commit_before>var Connection = require('./connection')
var Model = require('./model')
var Transaction = require('./transaction')

var _ = require('underscore')

var DbModeler = function(options) {

	this.models = {}
	this.options = options || {}

	this.initialize()

}

_.extend(DbModeler.prototype, {

	initialize: function() {

		this.connection = new Connection(this.options)

	},

	getModel: function(name) {

		return this.models[name] || null

	},

	define: function(name, fields, options) {

		options || (options = {})

		this.models[name] = new Model(fields, options, this)

		return this.models[name]

	},

	transaction: function() {

		return new Transaction(this.connection)

	}

})

module.exports = DbModeler<commit_msg>Renamed primary class<commit_after>var Connection = require('./connection')
var Model = require('./model')
var Transaction = require('./transaction')

var _ = require('underscore')

var Sequel = function(options) {

	this.models = {}
	this.options = options || {}

	this.initialize()

}

_.extend(Sequel.prototype, {

	initialize: function() {

		this.connection = new Connection(this.options)

	},

	getModel: function(name) {

		return this.models[name] || null

	},

	define: function(name, fields, options) {

		options || (options = {})

		this.models[name] = new Model(fields, options, this)

		return this.models[name]

	},

	transaction: function() {

		return new Transaction(this.connection)

	}

})

module.exports = Sequel
{'fraction_non_alphanumeric': 0.1524846834581348, 'fraction_numerical': 0.0, 'mean_word_length': 4.157894736842105, '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': '2299102', 'n_tokens_mistral': 490, 'n_tokens_neox': 442, 'n_words': 99}