-
Is it possible to set a value on the id instead of auto-increment done by the databases.
```php
$book = R::dispense('book');
$book ->id = 'some value';
R::store($book);
```
When I do it like…
-
Please, could you implement namespacing for this library ? If anyone has to include in a project is bad practise load single file to use the library.
ghost updated
6 years ago
-
So I'm currently working on a big project with many databases and I have to select the correct database each time I need to do something on a bean to make sure it's the correct one.
So I was thinki…
-
Using RedBean 4.3 in an existing application and we get this PHP notice:
PHP Warning: count(): Parameter must be an array or an object that implements Countable in vendor/gabordemooij/redbean/…
-
As title, the `Installation via Composer` section in `README` has this sentences: `(e.g. "gabordemooij/redbean": "dev-master")`.
It should be changed into `(e.g. "gabordemooij/redbean": "^5.1")` be…
-
What is wrong with this query, Its works in MySQL clients but RedBean returns this message
**Identifier does not conform to RedBeanPHP security policies**
```
SELECT l.port + 1 AS sta…
-
https://redbeanphp.com/index.php?p=/crud
On the online documentation there is no mention of `$alwaysReturnArray` of `R::dispense()`
```
$twoBooks = R::dispense( 'book', 2 );
```
i think it sh…
-
Curious why "usePartialBeans" wouldn't be turned on by default, wouldn't it be more performant? (Novice question)
-
-
In RedBeanPHP, the only way to work with cursor is through `findCollection`, but `findCollection` does not support raw SQL query.
Is there a way I can work with cursor while using raw SQL query (w…