Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Conversation

han-ian
Copy link

@han-ian han-ian commented Jul 4, 2019

Some dbproxy middleware use sql comment to make make a query on master node.
Example:

db.Table("test").Comment("/m:master/").Get( ptrObj )

The sql builder will output:
/m:master/SELECT * from test ....;

Some dbproxy middleware use sql comment to make make a query on master node.
Example:

db.Table("test").Comment("/*m:master*/").Get( ptrObj )

The sql builder will output:
/*m:master*/SELECT * from test ....;
@lunny
Copy link
Member

lunny commented Jul 4, 2019

CI failed.

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

Successfully merging this pull request may close these issues.

2 participants