Passing expressions to functions?

前端 未结 6 526

I\'m not quite sure what I mean here, so please bear with me..

In SQLAlchemy, it appears I\'m supposed to pass an expression to filter() in certain cases. When I try to

6条回答
  •  萌比男神i
    2021-02-01 20:29

    Short answer: You can't. The result of the expression evaluation is passed to the function rather than the expression itself.

提交回复
热议问题