-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
On the page: Concerned page,
Section "Creating custom rules" in the first part of the code example, the imports of db and vine are missing.
Suggested correction, insert the following lines:
import db from '@adonisjs/lucid/services/db'
import vine from '@vinejs/vine'
Still in the same section at the level of:
const row = await db
.select(options.column)
.from(options.table)
.where(options.column, value)
.first()
.select() should come after .from(),
Suggested correction, insert the following lines:
const row = await db
.from(options.table)
.select(options.column)
.where(options.column, value)
.first()
Maybe I can update the affected file myself :) :)
Metadata
Metadata
Assignees
Labels
No labels