Does larastan support support dynamic where's on base Query\Builder
, or only on Eloquent\Builder
?
#1826
Replies: 1 comment
-
Hi, Yes it is only supported in Eloquent builder. Because then we know the model. As the DB facade can work with any arbitrary table or connection, it is highly unlikely we will support this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm using current
larastan
(v2.8.1) and noticed that dynamic wheres aren't recognized when using theDB
facade. Am I doing something wrong (most likely!) or are they only supported onEloquent\Builder
?Is this intentional (maybe because we can't know if there is a
number
column in theorders
table?), or a bug, or have I just missed something?Beta Was this translation helpful? Give feedback.
All reactions