Open veed76 opened 4 years ago
Hi @jwage I have executed below code and it throwing 504
Connection to database
$couchClient = CouchDBClient::create([ 'dbname' => env('DB_DATABASE'), 'user' => env('DB_USERNAME'), 'password' => env('DB_PASSWORD'), 'host' => env('DB_HOST'), 'port' => env('DB_PORT'), 'timeout' => 10, 'ssl' => false, ]);
$query = new \Doctrine\CouchDB\Mango\MangoQuery(); $query->select(['_id', 'email', 'password'])->where(['$and'=> [ [ 'email'=> [ '$eq'=> $request->email, ], ], ]]); $docs = $couchClient->find($query);
Can you please tell me whereI'm wrong?
Thank You.
Hi @jwage I have executed below code and it throwing 504
Connection to database
Can you please tell me whereI'm wrong?
Thank You.