@ostro/database
Version:
Database module for OstroJS
29 lines (19 loc) • 408 B
JavaScript
class Grammar {
$connection;
$tablePrefix = '';
getDateFormat() {
return 'Y-m-d H:i:s';
}
getTablePrefix() {
return this.$tablePrefix;
}
setTablePrefix($prefix) {
this.$tablePrefix = $prefix;
return this;
}
setConnection($connection) {
this.$connection = $connection;
return this;
}
}
module.exports = Grammar;