![]() |
Valida uniq data - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Valida uniq data (/showthread.php?tid=85231) |
Valida uniq data - motoroller - 12-06-2022 I use validation is_unique[users.email] rule: select count(*) from users where email = $value but tell me plase if i need get guery like this select count(*) from users where email = $value and organization = $organization Can i use is_unique or i need make custom rule? RE: Valida uniq data - iRedds - 12-07-2022 No you can not. You need to create your own rule. |