Pass In “WHERE” parameters to PostgreSQL View?

前端 未结 5 1093
后悔当初
后悔当初 2020-12-04 15:43

I have a rather complicated query on my PostgreSQL database spanning 4 tables via a series of nested subqueries. However, despite the slightly tricky looking appearance and

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 16:17

    I don't think a "dynamic" view as you stated is possible.

    Why not write a stored procedure that takes 2 arguments instead?

提交回复
热议问题