On Sep 29, 7:30 am, Conrad [EMAIL PROTECTED] wrote:
I am not finding the logic in doing the equiv. of an INSERT query.
I am not seeing how $this-Model-save($this-data) knows which it
is, an insert or an update.
Can anyone spell it out for me, Sometimes I think I am somewhat simple
In other words, if you don't pass a 'id', or pass 'id' = null, it will
do an insert, otherwise if there is a non-null value for id it will
update. ???
Conrad
On Sep 29, 12:25 am, AD7six [EMAIL PROTECTED] wrote:
On Sep 29, 7:30 am, Conrad [EMAIL PROTECTED] wrote:
I am not finding the logic
On Sep 29, 8:29 am, Conrad [EMAIL PROTECTED] wrote:
In other words, if you don't pass a 'id', or pass 'id' = null, it will
do an insert, otherwise if there is a non-null value for id it will
update. ???
That isn't what I said. If it isn't clear try it.
One thing to note depending on your
I am not finding the logic in doing the equiv. of an INSERT query.
I am not seeing how $this-Model-save($this-data) knows which it
is, an insert or an update.
Can anyone spell it out for me, Sometimes I think I am somewhat simple
minded.
Conrad