docs: addSelect
#5438
-
Good day! |
Beta Was this translation helpful? Give feedback.
Answered by
B4nan
Apr 10, 2024
Replies: 1 comment 8 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
ramzini22
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
qb.addSelect
expects property names, if you want to use a raw query, you need to wrap it first, either viaraw()
or thesql
template function (https://mikro-orm.io/docs/raw-queries).