Skip to content

Commit

Permalink
Merge pull request #722 from magieno/improve-mysql-client
Browse files Browse the repository at this point in the history
- Added ability to specify more options.
  • Loading branch information
etiennenoel authored Aug 8, 2024
2 parents 3e8877f + d379346 commit 6440319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/mysql/src/clients/mysql.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class MysqlClient implements MysqlClientInterface {
password: mysqlConfig.password,
database: mysqlConfig.database,
debug: mysqlConfig.debug,
multipleStatements: mysqlConfig.multipleStatements ?? false,
...options,
});

Expand Down
3 changes: 2 additions & 1 deletion packages/mysql/src/configs/mysql.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export interface MysqlConfig {
connectionLimit: number,
debug: boolean,
database: string,
}
multipleStatements?: boolean,
}

0 comments on commit 6440319

Please sign in to comment.