Skip to content
This repository was archived by the owner on Jan 4, 2020. It is now read-only.

Conversation

@keepeye
Copy link
Contributor

@keepeye keepeye commented May 12, 2016

复杂查询语句使用query和execute的时候支持参数绑定功能。

M()->bind(':state','1')->query("select * from t where state=:state");
M()->bind(':state','0')->execute("delete from t where state=:state");

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.

1 participant