Questions tagged [activerecord]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
511 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 ...
2
votes
2answers
883 views

Advantage of ActiveRecord over plain sql query

Can someone tell me the advantage of using ActiveRecord vs writing a plain sql query?
2
votes
1answer
54 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 ...
0
votes
1answer
1k 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 ...