Closed
Description
Hi,
I am using latest version of jenssegers / laravel-mongodb and laravel 5.8.
I am using morphMany Relation which is causing the following error:
BadMethodCallException
Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereInRaw()
My Relation:
public function logs(): MorphMany
{
return $this->morphMany(Log::class, 'subject');
}
All logs are inserted in mongodb, whereas rest of tables are in mysql database.
Log Class extends Jenssegers\Mongodb\Eloquent\Model
Fetching logs basis subject is causing this error.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels