问题标签 [propel2]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
5 浏览

propel - 从 PropelORM 中的两个字段获取数据的有效方法是什么?

我需要从 first_name 和 last_name 这两个字段中搜索名称。我正在做以下事情:

如果我输入 first_name 或 last_name 它可以工作,但我同时输入了两个,那么它什么也不返回。尝试使用 _and() ,如果我输入 first_name 和 last_name 它不起作用。