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
Olá, Estou tendo problema com o um find filtrando pelo id.
// Esse código funciona $user = $this->Users->find('all', ['conditions' => ['name' => "teste"]]);
// Esse código não funciona $user = $this->Users->find('all', ['conditions' => ['_id' => "5890c6bee84c69843d8b456a"]]);
//Também tentei buscar por 'id' apenas e não '_id' $user = $this->Users->find('all', ['conditions' => ['id' => "5890c6bee84c69843d8b456a"]]);
Não sei que estou fazendo de errado.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Olá,
Estou tendo problema com o um find filtrando pelo id.
// Esse código funciona
$user = $this->Users->find('all', ['conditions' => ['name' => "teste"]]);
// Esse código não funciona
$user = $this->Users->find('all', ['conditions' => ['_id' => "5890c6bee84c69843d8b456a"]]);
//Também tentei buscar por 'id' apenas e não '_id'
$user = $this->Users->find('all', ['conditions' => ['id' => "5890c6bee84c69843d8b456a"]]);
Não sei que estou fazendo de errado.
The text was updated successfully, but these errors were encountered: