Open cancan101 opened 3 years ago
I am passing MyModel class to the correlate of an Exists clause and getting the the following error:
MyModel
correlate
Exists
error: Argument 1 to "correlate" of "Exists" has incompatible type "Type[MyModel]"; expected "FromClause"
where MyModel is a subclass of Base (Base = declarative_base(...))
Base
Base = declarative_base(...)
I am passing
MyModel
class to thecorrelate
of anExists
clause and getting the the following error:where
MyModel
is a subclass ofBase
(Base = declarative_base(...)
)