GraphQl/Hasura中的gostgis功能

发布于 2025-01-25 20:52:15 字数 294 浏览 4 评论 0原文

我是GraphQL/Hasura的新手。我想通过突变在Hasura中运行以下RAW SQL:

update features
set feature = st_translate(feature, 150,30);

此SQL在表功能中翻译整个功能列。 看来这是通过突变无法实现的吗?主要是因为st_translate是在Hasura查询_SET中无法使用的函数:功能{}

I'm new to graphql/hasura. I want to run the following raw sql in hasura through mutation:

update features
set feature = st_translate(feature, 150,30);

This sql translates the whole feature column in table features.
It seems this is not achievable through mutation? Mainly because st_translate is a function which cannot be used in the hasura query _set:feature{}?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

澉约 2025-02-01 20:52:15

通过使用run_sql张贴RAW SQL来解决。

solved by using run_sql to post raw sql.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文