quaerateum
Version:
Simple typescript ORM for node.js based on data-mapper, unit-of-work and identity-map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JS.
17 lines (11 loc) • 329 B
text/typescript
import { Platform } from './Platform';
import { SqliteSchemaHelper } from '../schema/SqliteSchemaHelper';
export class SqlitePlatform extends Platform {
protected schemaHelper = new SqliteSchemaHelper();
supportsSavePoints(): boolean {
return true;
}
requiresNullableForAlteringColumn() {
return true;
}
}