4 ms·
A bit OT. In Yii framework (php) these are called "scopes" and there is a nice abstraction to define non-parametric scopes via arrays. http://www.yiiframework.c
by ecesena 15y ago
A bit OT. In Yii framework (php) these are called "scopes" and there is a nice abstraction to define non-parametric scopes via arrays.
http://www.yiiframework.com/doc/guide/1.1/en/database.ar#named-scopes http://www.yiiframework.com/doc/guide/1.1/en/database.ar#nam...