Custom insert, update, and delete …?

QuestionsCustom insert, update, and delete …?
Jnr asked 12 years ago

Hi, I am using a custom select command with joins to display info on my php grid.
I cannot seem to insert, update, and delete info. Is insert, update, and delete automated even with custom select commands or do I have to add custom insert, update, and delete somewhere?

2 Answers
Abu Ghufran answered 12 years ago

By default, insert,update,delete work on single table. For that you must declare ->table property to function along with select_command, which is for custom selection.

If you wish to have update implementation that include more than one table or have some more complex business cases, you might need on_update / on_delete event handlers, which is part of premium package.

Abu Ghufran answered 12 years ago

Please refer custom-events.php for reference.

Your Answer

12 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?