@@ -10,37 +10,34 @@ export type DataApiDriverConfig = {
1010 database : string ;
1111} ;
1212
13- export class DataApiDriver extends Driver {
13+ export class DataApiDriver implements Driver {
1414 #config: DataApiDriverConfig ;
1515
1616 constructor ( config : DataApiDriverConfig ) {
17- super ( ) ;
1817 this . #config = config ;
1918 }
2019
21- protected override async init ( ) : Promise < void > { }
20+ async init ( ) : Promise < void > { }
2221
23- protected override async acquireConnection ( ) : Promise < DatabaseConnection > {
22+ async acquireConnection ( ) : Promise < DatabaseConnection > {
2423 return new DataApiConnection ( this . #config) ;
2524 }
2625
27- override async beginTransaction ( conn : DataApiConnection ) {
26+ async beginTransaction ( conn : DataApiConnection ) {
2827 await conn . beginTransaction ( ) ;
2928 }
3029
31- override async commitTransaction ( conn : DataApiConnection ) {
30+ async commitTransaction ( conn : DataApiConnection ) {
3231 await conn . commitTransaction ( ) ;
3332 }
3433
35- override async rollbackTransaction ( conn : DataApiConnection ) {
34+ async rollbackTransaction ( conn : DataApiConnection ) {
3635 await conn . rollbackTransaction ( ) ;
3736 }
3837
39- protected override async releaseConnection (
40- _connection : DatabaseConnection
41- ) : Promise < void > { }
38+ async releaseConnection ( _connection : DatabaseConnection ) : Promise < void > { }
4239
43- protected override async destroy ( ) : Promise < void > { }
40+ async destroy ( ) : Promise < void > { }
4441}
4542
4643class DataApiConnection implements DatabaseConnection {
0 commit comments