-
Hi, J4mie!
After some time back to my IdiORM-izing and Paris-ing code, I found two things to be useful:
(1) setId() instance method for Model (helpful if working with legacy database, with quite ran…
-
This is a modified version of the get method:
public function getAllData()
{
return isset($this->_data) ? $this->_data : null;
}
You somehow missed this in the orm class.
-
Hi,
Could you please make a composer.json file in your repo?
Thanks,
Zhenya.
-
Say I use the following:
``` php
$page_size = 100;
$page_number = 3;
$users = Model::factory('BlergUsers')
->where('session_id', $session)
->where('user_type',$user…
-
I'm not sure if it should be posted as an issue or as a feature request. I have problem to use raw queries to send update query to the database. For example I need to change many rows at once with sim…
-
Also, I wonder, what would be the correct and least "hacking" way to extend ORM instance, wrapped in Model classes?
We have Postgres behind and in subclass of Model, from which all our application mo…
-
From Osman Üngür (by email):
> Is as_array() can be usable with find_many() for array output ? (I tested, as_array() with
> find_many() gives me an error)
> (Its simply possible with iterating result…
j4mie updated
11 years ago
-
HI,
Why not use PDOStatement :: rowCount to get the number of rows affected by the last statement.
This property could be populated in the _run function after the statement execution like this:
$th…
-
I have a **Library2** that depends on **Library1** if I just define **Library2** in my `composer.json` file as the only required library then it throws me an error saying that I'm missing **Library1**…
jahvi updated
12 years ago
-
Change ORM (Idiorm & Paris) to a small but easy to use ORM