Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一张桌子上做一个选择我知道我使用了多少结果
PQntuples()
功能 。但是我怎样才能得到列数呢?有什么功能吗?
是的,PQnfields(const PGresult*)- http://www.postgresql.org/docs/current/static/libpq-exec.html
PQnfields(const PGresult*)