From 76da5a11dd160054bfaebb106bb12c30e96f7640 Mon Sep 17 00:00:00 2001 From: Cory Nelson Date: Thu, 16 Jan 2025 05:59:11 +0000 Subject: [PATCH] docs : update exists binding with correct comments (#1084) Current comments contradict the docs, and are the wrong way around.. --- providers/database_provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/database_provider.ts b/providers/database_provider.ts index 13749998..283c95d7 100644 --- a/providers/database_provider.ts +++ b/providers/database_provider.ts @@ -68,8 +68,8 @@ declare module '@vinejs/vine' { * Ensure the value exists inside the database by self * executing a query. * - * - The callback must return "false", if the value exists. - * - The callback must return "true", if the value does not exist. + * - The callback must return "true", if the value exists. + * - The callback must return "false", if the value does not exist. */ exists(callback: VineDbSearchCallback): this }