We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, Hope you are doing well, and thank you for the great lib
is there are any way to add a select distinct with wheres in CommanModal? as I tried everything to use distinct but I always get the following error:
Attempt to read property "app-ReservationST" on string
The modal function is:
public function getListDistinct($f,string $collection, array $where = [], array $options = [], array $select = []) { return $this->m->options($options)->where($where)->distinct($collection,$f); }
Usage: $MongoModel->getListDistinct('mSTMC','app-ReservationST')
$MongoModel->getListDistinct('mSTMC','app-ReservationST')
Thank you.
The text was updated successfully, but these errors were encountered:
Hello, thank you very much. I hope you're doing well.
I haven't added any functions to the CommonModel yet about distinct method, but I will do that and update the library version.
Thank you especially for your interest and advice.
Sorry, something went wrong.
No branches or pull requests
Hello, Hope you are doing well, and thank you for the great lib
is there are any way to add a select distinct with wheres in CommanModal? as I tried everything to use distinct but I always get the following error:
Attempt to read property "app-ReservationST" on string
The modal function is:
public function getListDistinct($f,string $collection, array $where = [], array $options = [], array $select = []) { return $this->m->options($options)->where($where)->distinct($collection,$f); }
Usage:
$MongoModel->getListDistinct('mSTMC','app-ReservationST')
Thank you.
The text was updated successfully, but these errors were encountered: