[Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)
silvioprog
silvioprog at gmail.com
Fri Nov 14 16:54:08 CET 2014
On Fri, Nov 14, 2014 at 11:47 AM, Michael Van Canneyt <
michael at freepascal.org> wrote:
[...]
> I was planning some fallback mechanism, yes. And a "class function
> SupportReturningClause : Boolean" or something similar.
> Or maybe
>
> TDBCapability = (lastID,returningclause);
> TDBCapabilities = set of TDBCapability;
>
> and
>
> Class function DatabaseCapabilities : TDBCapabilities;
>
> I don't really like using interfaces when things can be done more simple.
Good too dude. =)
Protected virtual methods would be welcome too. =)
--
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/1c135779/attachment-0003.html>
More information about the Lazarus
mailing list