[Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

silvioprog silvioprog at gmail.com
Fri Nov 14 15:15:56 CET 2014


On Fri, Nov 14, 2014 at 10:40 AM, Michael Van Canneyt <
michael at freepascal.org> wrote:
>
> On Fri, 14 Nov 2014, silvioprog wrote:
>
>> On Fri, Nov 14, 2014 at 10:15 AM, Michael Van Canneyt <
>> michael at freepascal.org> wrote:
>> [...]
>>       Connections for databases that have lastinsertID you can call the
>> method created for this:
>>
>>       Function GetInsertID: int64;
>>
>>       There is a plan to let SQLDB retrieve the value of some fields fro
>> the DB, but it is not implemented
>>       yet.
>>
>>
>> Awesome news! =)
>>
>> Some branch to follow this new implementations? (trunk?)
>>
>
> It will be implemented in trunk.


Thanks dude. I'll follow it there! (y)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141114/17490351/attachment-0003.html>


More information about the Lazarus mailing list