"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Dialect_1 = require("./Dialect");
class SqliteDialect extends Dialect_1.default {
    getPageSql(sql, boundSql, offset, limit) {
        boundSql.addParameter(limit);
        boundSql.addParameter(offset);
        return sql + ' limit ? offset ?';
    }
    match(dataSource) {
        const dialect = dataSource.options['_dialect'];
        return dialect === 'sqlite';
    }
}
exports.default = SqliteDialect;
//# sourceMappingURL=SqliteDialect.js.map