ว่าเช็คอยู่ในโต๊ะขอพิสูจน์ความถูกต้องของ laravel

รหัสตัวอย่าง

0
0

มีอยู่หมายเลขที่โต๊ะใน laravel การตรวจสอบ

'game_id' => 'required|exists:games,id,another_column,NULL',
0
0

laravel การตรวจสอบอยู่ก่อนหลายตารางข้อมูลเรียบร้อยแล้ว laravel

$validator = Validator::make($request->all(), [
    'title' => [
        'required',
        'max:255',
        function($attribute, $value, $fail) {
            if ($value === 'foo') {
                return $fail($attribute.' is invalid.');
            }
        },
    ],
]);

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................

ดังอยู่ในนี้หมวดหมู่

ดังหน้ากับตัวอย่างอยู่ในหมวดหมู่