-
I'm tracking states on a model (Show) using an enum, which is perfect except for when it comes time to query for them, or count them. This feels clunky:
$readyToDownload = RedBean::count('show','migr…
-
I think it might be easier to explain this issue with PHPUnit Test case.
The problem relates with difference in behaviour when getting values using "via" and "sharedX" are switched.
Please see the c…
-
Hi there,
i am using Flight together with RedBeanPHP https://github.com/gabordemooij/redbean as ORM and after the latest changes on the Flight Loader class i noticed the problem that an exception is …
-
### Intent
This issue intends to discuss a PROPOSITION to add a new SQLHelper to redbean: I was looking at [this](https://groups.google.com/forum/#!topic/redbeanorm/PbMFgWEslFg) post on redbean forum…
-
2 classes:
``` php
class Model_User extends RedBean_SimpleModel
{
public function get_issues()
{
$issues = R::find('issue', 'created_by_id = ? ORDER BY updated_at DESC LIMIT 2', array($this->id))…
-
Hi guys!
In short, if I'm using RedBeanPHP file rb.php together with **spl_autoload_register** function, then I get PHP warning[1]....
Because in **getModelForBean** function used conditional check
…
ghost updated
10 years ago
-
When preloading the parent of a parent with a condition, invalid SQL is generated.
To reproduce, run this code:
``` php
-
I'm working on a project and I need to change the id column value.
Redbean currently does not change it to the value I specify.
Here is an exemple code:
$news_list = R::getCol('SELECT id FROM news'…
-
F3 is a fantastic and very powerful, concise framework. To help adoption of the framework, I would suggest that F3 be made installable via Composer - and make full use of Composer's autoloader to load…
-
page at
http://www.redbeanphp.com/labels
gives example:
$labels = R::dispenseLabels('meals', 'pizza,pasta,hamburger');
should be:
$labels = R::dispenseLabels('meals', array('pizza,pasta,hamburger'))…