From cae42044906950eb730867050d74ea3b97bc1155 Mon Sep 17 00:00:00 2001 From: DaddyWarbucks Date: Wed, 28 Feb 2024 16:45:23 -0600 Subject: [PATCH] Limit get method to one result --- src/adapter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/adapter.ts b/src/adapter.ts index 85b43dc..24c0083 100644 --- a/src/adapter.ts +++ b/src/adapter.ts @@ -204,6 +204,7 @@ export class SequelizeAdapter< const q: FindOptions = { where, + limit: 1, raw: this.raw, ...params.sequelize };