Locker\Repository\Base\EloquentRepository::where PHP 메소드

where() 보호된 메소드

Constructs a query restricted by the given options.
protected where ( array $opts ) : Jenssegers\Mongodb\Eloquent\Builder
$opts array
리턴 Jenssegers\Mongodb\Eloquent\Builder
    protected function where(array $opts)
    {
        return (new $this->model())->where('lrs_id', new \MongoId($opts['lrs_id']));
    }