perf: 支持mysql

This commit is contained in:
xiaojunnuo
2024-12-09 17:47:01 +08:00
parent 228fdf0a0d
commit 7cde1fdc4a
27 changed files with 511 additions and 11 deletions
@@ -0,0 +1,7 @@
import { SqlAdapter } from './d.js';
export class MysqlAdapter implements SqlAdapter {
date(columnName: string) {
return `DATE_FORMAT(${columnName}, '%Y-%m-%d')`;
}
}