检索视图信息 1010data
Retrieve view Informations 1010data
我在我的 1010 数据库中有一个视图,它是由其他人创建的我想确定它的描述并且是他们直接 api 调用以获取该信息。
已尝试使用以下命令。它给出了以下错误。
using dir api endpoint.
<out>
<rc>15</rc>
<msg>Not a directory: xxx.views.test</msg>
</out>
using tabinfo endpoint.
<out>
<rc>22</rc>
<msg>Not currently implemented for Quick Query: XXX.views.test</msg>
</out>
它们是查看视图结构和相关表的命令吗?
我可以使用 querydata api 端点检索列名,但我无法获取与链接表相关的信息。
他们是获取此信息的命令或端点。
类似于 Show create view in Mysql :)
你试过 gettab 吗?
文档在这里:
https://www2.1010data.com/documentationcenter/beta/XMLAPI/TableManagement/XMLAPI-gettab.html
它说 "If the table is a query (i.e., type is VIEW, PARAM, MERGED or TOLERANT) then the tab element will contain ops and dependencies elements. Any dependencies on other tables (i.e., links, merges) are available in the element, which contains a list of table references if the table is a Quick Query or a merged table."
你能确认这对你有用吗?
谢谢!
我在我的 1010 数据库中有一个视图,它是由其他人创建的我想确定它的描述并且是他们直接 api 调用以获取该信息。
已尝试使用以下命令。它给出了以下错误。
using dir api endpoint.
<out>
<rc>15</rc>
<msg>Not a directory: xxx.views.test</msg>
</out>
using tabinfo endpoint.
<out>
<rc>22</rc>
<msg>Not currently implemented for Quick Query: XXX.views.test</msg>
</out>
它们是查看视图结构和相关表的命令吗?
我可以使用 querydata api 端点检索列名,但我无法获取与链接表相关的信息。
他们是获取此信息的命令或端点。 类似于 Show create view in Mysql :)
你试过 gettab 吗? 文档在这里: https://www2.1010data.com/documentationcenter/beta/XMLAPI/TableManagement/XMLAPI-gettab.html 它说 "If the table is a query (i.e., type is VIEW, PARAM, MERGED or TOLERANT) then the tab element will contain ops and dependencies elements. Any dependencies on other tables (i.e., links, merges) are available in the element, which contains a list of table references if the table is a Quick Query or a merged table."
你能确认这对你有用吗? 谢谢!