xml - PostgreSQL 不返回带有表数据的 XML
问题描述
我在 iMac 上使用最新的 ProgreSQL。
当我使用简单的 SQL 语句从表中返回 XML 但它不返回数据时。
SQL:
select table_to_xml('company',true,false,'');
(我也试过“公司”)
仅返回 xml:
company xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
我在 iMac 上使用最新的 ProgreSQL。
当我使用简单的 SQL 语句从表中返回 XML 但它不返回数据时。
SQL:
select table_to_xml('company',true,false,'');
(我也试过“公司”)
仅返回 xml:
company xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
标签: xmlpostgresqlpgadmin