We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发团队你们好,
我想问下egg-mysql:
egg-mysql
const results = yield app.mysql.select('posts',{ where: { status: 'draft',name: 'abc' }, orders: [['created_at','desc'], ['id','desc']], limit: 10, offset: 0 });
这样的语句,where里的条件是AND的关系,如何筛选OR的关系呢?
where
AND
OR
The text was updated successfully, but these errors were encountered:
https://github.com/ali-sdk/ali-rds/blob/master/lib/operator.js#L184 目前只有 AND。
可以参与 ali-sdk/ali-rds#24 的讨论,看看如何增加 OR 的功能。
Sorry, something went wrong.
好的吧,我查了两次用concat拼接了😅 谢谢🙏
No branches or pull requests
开发团队你们好,
我想问下
egg-mysql
:这样的语句,
where
里的条件是AND
的关系,如何筛选OR
的关系呢?The text was updated successfully, but these errors were encountered: