问题描述
我正在尝试使用 Strapi CMS 创建 API.我有一个现有的 postgres + postgis 数据库,我想在 Strapi 项目中连接使用这个数据库.
I am trying to create an API using Strapi CMS. I have an existing postgres + postgis database and i would like to connect-use this database in a Strapi project.
你知道是否可以做这样的事情吗?提前致谢
Do you know if it is possible to do something like this?Thank you in advance
推荐答案
我也在为此寻找答案,但似乎唯一的答案是否定的,因为 Strapi 与模式无关:您必须采用他们的数据库结构使用 Strapi.
I was looking for an answer for this also, but it seems the only answer is no, because Strapi is not schema-agnostic: you must adopt their database structure to use Strapi.
现在,如果我只能想出一种方法向 Stack Overflow 询问与模式无关的无头 CMS ......而不会将其标记为无效/主观问题......
Now if I could only figure out a way to ask Stack Overflow for a schema-agnostic headless CMS ... without getting it flagged as an invalid/subjective question ...
这篇关于是否可以将现有数据库与 Strapi CMS 连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!