开发者

castle activerecord rewrite sql

is there anyway to intercept the sql query before it is sent to the database and rew开发者_运维技巧rite it using castle active record ?


Set up an interceptor and use OnPrepareStatement to modify the generated SQL. See this example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜