Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何定义项目内的全局变量 #998

Open
WEGFan opened this issue May 27, 2024 · 1 comment
Open

如何定义项目内的全局变量 #998

WEGFan opened this issue May 27, 2024 · 1 comment

Comments

@WEGFan
Copy link

WEGFan commented May 27, 2024

https://brucege.com/doc/#/sqlred?id=%e4%bd%bf%e7%94%a8%e7%9a%84sql%e4%bc%9a%e6%a0%87%e7%ba%a2

项目用了租户分表,因此sql里都是写的类似 SELECT * FROM ${tenantCode}_xxx 这样的,想在不修改代码的情况下直接在项目设置里全局进行定义,这样又有补全又不会污染提交记录

@gejun123456
Copy link
Owner

可以弄成一个配置 我想想

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants