-
FreeSql.Ado 是否支持读写分离,例如系统中一些实时性不高的复杂SQL报表通过从库查询,实时性要求比较高的SQL报表通过主库查询,类似于FreeSql.Select().Master()一样的使用方式? |
Beta Was this translation helpful? Give feedback.
Answered by
2881099
Sep 14, 2021
Replies: 1 comment 1 reply
-
默认以
开头的查询,会查从库。 想要查主库可以这样:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
januswx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
默认以
开头的查询,会查从库。
想要查主库可以这样: