Skip to content

Conversation

153264
Copy link

@153264 153264 commented Apr 16, 2022

$valdiate = Validate::check([
    'user_phone' => '136***142'
],[
    'user_phone' => 'unique:app\model\User,,1,'
]);
// SELECT `user_guid` FROM `user` WHERE (   = '136***142'  AND `user_guid` <> '1' ) AND `user`.`user_delete_time` IS NULL LIMIT 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant