From d2fb29df62c990ae9d5f708e0fa875060bbfa49e Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Wed, 22 Jul 2026 09:53:48 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E8=A6=A7=E5=8F=96=E5=BE=97=E3=81=AE?= =?UTF-8?q?=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=EF=BC=91=EF=BC=90?= =?UTF-8?q?=EF=BC=90=E4=BB=B6=E3=82=92=E8=B6=85=E3=81=88=E3=82=8B=E5=8F=96?= =?UTF-8?q?=E5=BE=97=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest-api/query.ts | 4 ++++ src/rest-api/車室情報2.ts | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/rest-api/query.ts b/src/rest-api/query.ts index 087c518..4f465f4 100644 --- a/src/rest-api/query.ts +++ b/src/rest-api/query.ts @@ -46,6 +46,10 @@ export class QueryBuilder { return this; } + limitAll() { + return this.limit(500) + } + build(): string { let query = ""; query += this.whereConditions.join(" and ") + " "; diff --git a/src/rest-api/車室情報2.ts b/src/rest-api/車室情報2.ts index aafadde..1fb320e 100644 --- a/src/rest-api/車室情報2.ts +++ b/src/rest-api/車室情報2.ts @@ -16,6 +16,8 @@ export const get車室情報一覧 = async ({ 車室番号, }: get車室情報一覧オプション): Promise<車室情報2[]> => { const builder = new QueryBuilder(); + + builder.limitAll(); if (駐車場名) { builder.where(車室情報2フィールド名.駐車場名, 駐車場名); }