Files
evento/node_modules/kysely/dist/esm/dialect/dialect-adapter-base.js
2026-03-18 14:55:56 -03:00

22 lines
643 B
JavaScript

/// <reference types="./dialect-adapter-base.d.ts" />
/**
* A basic implementation of `DialectAdapter` with sensible default values.
* Third-party dialects can extend this instead of implementing the `DialectAdapter`
* interface from scratch. That way all new settings will get default values when
* they are added and there will be less breaking changes.
*/
export class DialectAdapterBase {
get supportsCreateIfNotExists() {
return true;
}
get supportsTransactionalDdl() {
return false;
}
get supportsReturning() {
return false;
}
get supportsOutput() {
return false;
}
}