Hi,
Can you please suggest me whether the below syntax correct ? "$and" is not working in Mongodb Query.
$general = [[ '$and' => [[ "user_id" => $input['user_id']],[ "type" => $type ]]]];
$object = Profile::findFirst($general);
Please suggest me on the same.
Raja K