gf
gf copied to clipboard
关于gdb的一些小想法
1.Handle 是否可以增加一个全局的Handle 2.model对象是不是可以增加GetTableName() string 如果增加的这些可以实现saas模式的开发
1. What version of Go
and system type/arch are you using?
2. What version of GoFrame
are you using?
3. Can this issue be re-produced with the latest release?
4. What did you do?
5. What did you expect to see?
6. What did you see instead?
i use custom driver to handle tenant
i use custom driver to handle tenant
我也是,但是我认为有个全局的handle操作起来会更简单
@houseme @gqcn 不知道大佬们,是否可以提供一个思路实现多租户的几种模式。总感觉目前已经可以满足了。但是实现的时候却发现总是哪里少了点东西。 1.共享表也就是每张表增加一个tenant_id 2.共享数据库不同schema的方式 3.不同数据源的方式。

//这个判断好像永远也进不去 if ctxDb := DBFromCtx(dbCtx); ctxDb != nil { return dbCtx }
@FTLLOVE @larryclean 多租户的查询的全局处理,有什么解决方案吗
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@FTLLOVE @larryclean Global processing of multi-tenant queries, is there any solution
i use custom driver to handle tenant
可以更详细的描述一下,以及现有的想法或许想实现的目标 @larryclean @FTLLOVE