Is it possible to insert a comment before or after a sql query? We have a database middleware which parse hint from comment and route the request to the real backend mysql instances.
The query is something like:
/* shard = shard-00 */ select * from users where id = 100;
Is it possible to insert a comment before or after a sql query? We have a database middleware which parse hint from comment and route the request to the real backend mysql instances.
The query is something like: