CodeIgniter — вставка активной записи, если она новая, или обновление дубликата. ⇐ Php
-
Anonymous
CodeIgniter — вставка активной записи, если она новая, или обновление дубликата.
Is it possible to do an active record query in CodeIgniter that will update an existing record if one already exists or insert if it doesnt, for the given key?
I understand this could be done by first querying to find an existing record, but I'm seeking the most efficient approach.
Источник: https://stackoverflow.com/questions/293 ... -duplicate
Is it possible to do an active record query in CodeIgniter that will update an existing record if one already exists or insert if it doesnt, for the given key?
I understand this could be done by first querying to find an existing record, but I'm seeking the most efficient approach.
Источник: https://stackoverflow.com/questions/293 ... -duplicate
Мобильная версия