Comments (2)
I think this needs some more thought, and maybe we should get some inspiration
from
another framework that does query building.
Really, this kind of complex filtering condition calls for a
business-requirements
specific ::find_by_X method that implements the OR logic, rather than support
in the
framework.
Original comment by [email protected]
on 10 Sep 2008 at 7:56
from vanilla-mvc.
Decided against this. If you need to run OR queries, pass in a manual query
into the
find*() methods to run.
Original comment by lorderunion
on 20 Oct 2008 at 9:56
- Changed state: WontFix
from vanilla-mvc.
Related Issues (20)
- support table prefixing without having to prefix all the model names also HOT 1
- Model implementations only work with a single database
- standardize the results of table_info and column_info
- hidden form elements don't support attributes HOT 1
- implement bind_result functionality in DBI.php HOT 3
- $model->save of existing rows behaves unexpectedly HOT 1
- save_insert behaves unexpectedly HOT 3
- double urldecode in lib::parse_request HOT 1
- SQL variables cannot be similar due to use of str_replace() in DBIstatement::execute() HOT 1
- checking source out to vanilla-mvc/ causes configure.sh to fail HOT 1
- support mysqli family of functions in dbi
- Table Lacking Primary Key are cached incorrectly
- add generic PDO support to dbi
- Missing argument issue with configure.sh HOT 1
- SQL profiling in the debug log HOT 3
- SQL Condition "notequal" HOT 2
- Implementation of phpdoc comments on methods
- libmemcached support HOT 2
- Support for multiple primary keys. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vanilla-mvc.