ORM joins
functionality doesn't include schema name in primary table from clause
#438
Labels
joins
functionality doesn't include schema name in primary table from clause
#438
Given two entities
And a subject entity:
Attemping to run:
Generates a query that does not include the schema name for the
Permission
table but does include the schema name for theSubject
table. This causes queries to fail due totable not found
:In the query above, the
from
clause should reference the permission table asmy_schema.permission
instead of justpermission
.This behavior happens for all the entity relations I've tried:
hasOne
,hasMany
,belongsTo
I'm currently using skinny-orm:
4.0.0
The text was updated successfully, but these errors were encountered: