-
Hi,
I was thinking how to map column properties in fluent style:
``` php
// ** in example.php file
ORM::for_table('tkc_tickets')->
Column('customer_id')->DBColumn('CUSTOMER_ID')->PrimaryKey()->Ti…
-
I added it to composer to my current slim app, added the Middleware and the view, but now I get this error returned?
`{"error":true,"msg":"ERROR: could not find driver","status":500}`
What gone wron…
-
Using error_reporting(E_ALL | E_STRICT). Second parameter should be optional(null)
j4mie/idiorm = v1.4.0
j4mie/paris = v1.4.1
shadowprince/autoparis = dev-master 73e1318
-
Ugly methods name like `for_table`, `set_db`
-
I need something like that condition
[
where users_enigmas_activitys.user_id 38
or (users_enigmas_activitys.user_id = 38 and users_enigmas_activitys.ban 1)
or users_enigmas_activitys.ban is null
]
-
I have a script where user can attach file to the record. File is stored separately (not in a database). When user does not attach file and click on "Save record" it works fine. When user attaches fil…
-
I try to delete a row using next code:
```
$event = ORM::for_table('events')->where('accountId', $accountId)->find_one($eventId);
$event->delete();
```
Idiorm generates next SQL
```
Select * From …
-
how is that possible with the latest idiorm..?
SELECT \* FROM test WHERE foo LIKE %foo1% OR bar LIKE %foo2%;
thanks :)
nmkr updated
11 years ago
-
If this code works:
```
Model::factory('business')
->raw_query('DESCRIBE business')
->find_array();
```
Then should the following work?
```
Model::factory('business')
->raw_query('DESCR…
-
Hey there, great library... how the heck do I close a connection? I can't find any reference to it.