如何判断一个数据库是否已经存在? #9570
-
不存在则新建,已存在则不新建。 |
Beta Was this translation helpful? Give feedback.
Answered by
SteveYurongSu
Apr 10, 2023
Replies: 1 comment
-
通过
或者
的返回值判断。 1.0 / 1.1 的版本建议 database 数量为 1。 若想做区分,可以从 root.database.x 的 x 级开始区分。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xianzheTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
通过
或者
的返回值判断。
1.0 / 1.1 的版本建议 database 数量为 1。
若想做区分,可以从 root.database.x 的 x 级开始区分。