CodeIgniter Forums
CI3 - How to get Firebird generator value. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: CI3 - How to get Firebird generator value. (/thread-74819.html)



CI3 - How to get Firebird generator value. - Andry - 11-12-2019

Hi all,
In my Model, I need to get the next Firebird generator value. How to code this ?
Thanks.
Andry


RE: CI3 - How to get Firebird generator value. - InsiteFX - 11-12-2019

This is on php.net

ibase_gen_id


RE: CI3 - How to get Firebird generator value. - Andry - 11-13-2019

(11-12-2019, 12:24 PM)InsiteFX Wrote: This is on php.net

ibase_gen_id

Ok thanks. I already manage to create Stored Proc inside the database and just query this stored proc to have the value.
But this one is simpliest.

Andry