What is the fastest way to get whether a result set is empty with pg_query?

前端 未结 0 1753
南旧
南旧 2021-01-30 10:50

So, AFAIK, there are two ways to test whether a result set is populated. Starting with $res = pg_query($select); the two options I\'ve used are pg_num_rows

相关标签:
回答
  • 消灭零回复
提交回复
热议问题