DISTINCT unique method returns different values.
E.g:
$Model->distinct(true)->field('name')->select();
Generated SQL statement is: SELECT DISTINCT name FROM think_user
Distinct parameter method is a Boolean value.
DISTINCT unique method returns different values.
E.g:
$Model->distinct(true)->field('name')->select();
Generated SQL statement is: SELECT DISTINCT name FROM think_user
Distinct parameter method is a Boolean value.