Hey,
according to the docs, Model::count() supports an array with a 'distinct' parameter. However, using Model::find() this parameter seems not to work. How can I pass a DISTINCT clause to a models find() method?
Thanks in advance. Best, Philipp
Hey,
according to the docs, Model::count() supports an array with a 'distinct' parameter. However, using Model::find() this parameter seems not to work. How can I pass a DISTINCT clause to a models find() method?
Thanks in advance. Best, Philipp