-
Hi again Jamie,
I tried the following, which didn't work. Is there any current solution to my issue?
```
$existingSessions = ORM::for_table('sessions')->where_lt('expire', date("Y:m:d H:i:S", ti…
-
Hey
```
protected static function _setup_db($connection_name = self::DEFAULT_CONNECTION)
```
Content needs to be wrapped in a try catch incase PDO is unable to connect. I spent the last 3 hours tryi…
-
I've written a simplified `IdiormString` class, that runs 30–40% faster than the current version (based on local speed tests).
See the implementation at tag/idiorm@b92d651
- Requires PHP > 5.3 becaus…
-
I'd love to see the ability to execute arbitrary SQL against the database, perhaps with a `ORM::raw_exec($sql)` method. There is currently no _clean_ way to, e.g. create a table with arbitrary SQL.
F…
-
guys, I noticed that Idiorm doesn't seem to raise an Exception on a faulty insert query during a save. This is according to the PDO spec which does also not raise an exception with a faulty query but …
tomvo updated
11 years ago
-
I might be out to lunch here, but I'm getting an 'Undefined index: default' on line 221.
I'm sure others who don't suppress notices also have this issue.
I believe that changing the !is_object to a …
-
Hi,
There's no having statement in idiorm. Could you add this please ?
I've already added it in the orm but it's not a good thing to have 2 versions...
Thanks
sa3m updated
11 years ago
-
Remove the requirement for Idiorm to be 5.2 compatible.
See the comments on issue #78 for more information on why this must take place.
This will affect a small number of users hopefully, but if the…
-
```
$obj->save();
echo $obj->id; // show the row oid
```
I know that exist an annoying problem in PDO pgsql driver that required the sequence name in lastInsertId() method. The sequence ID often has …
-
Now IDIORM waste a ~1 mb of memory even if we don't need MySQL.
New constant/option must be created for this.
e.g.
``` php
if (MONSTRA_MYSQL) {
ORM::configure(MONSTRA_DB_DSN);
ORM::confi…