Skip to content

Commit

Permalink
docs : update exists binding with correct comments
Browse files Browse the repository at this point in the history
Current comments contradict the docs, and are the wrong way around..
  • Loading branch information
ranseur92 authored Jan 9, 2025
1 parent f918e38 commit 496977d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/database_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ValueType>): this
}
Expand Down

0 comments on commit 496977d

Please sign in to comment.