diff --git a/index.ts b/index.ts index c0fa09e..5356727 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ export { MessageBroker, BrokerOptions } from './src/MessageBroker.js'; export { MariaDB, MariaOptions } from './src/MariaDB.js'; export { MongoDB, MongoOptions } from './src/MongoDB.js'; -export { ObjectId, Document, DeleteResult, Collection, Filter } from 'mongodb'; \ No newline at end of file +export { ObjectId, Document, DeleteResult, Collection, Filter, UpdateFilter } from 'mongodb'; \ No newline at end of file diff --git a/src/MariaDB.ts b/src/MariaDB.ts index f853f2b..cab4c64 100644 --- a/src/MariaDB.ts +++ b/src/MariaDB.ts @@ -36,7 +36,7 @@ type MariaError = { sqlMessage:string } & Error -type Values = (string | number | (string | number)[] | (string | number)[][])[] +type Values = ((string | number | null | boolean) | (string | number | null | boolean)[] | (string | number | null | boolean)[][])[]; type QueryOptions = { node?: string, timeout?: number,