Questions tagged [activerecord]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
533 views

How to add a new database column in third party module?

I've created a module for ExpressionEngine and since it's initial installation I need to add a new column to the database. I've managed to create the update funtion in the upd.modulename.php file and ...
Kieran McClung's user avatar
2 votes
2 answers
913 views

Advantage of ActiveRecord over plain sql query

Can someone tell me the advantage of using ActiveRecord vs writing a plain sql query?
therooster's user avatar
2 votes
1 answer
55 views

Retrieving Next Available Entry ID

Using Active Record in an EE2 project, is there a specific function that retrieves the next available entry id of a record I am going to insert? At the moment I have this code to generate the next id ...
heinkasner's user avatar
0 votes
1 answer
2k views

Error 1096 - No Tables Used - CodeIgniter

I am trying to use one of stores hooks to insert data into the database when displaying the success page after paying online for an order and I get the following error: Error Number: 1096 No tables ...
heinkasner's user avatar