[Gambas-devel] New component for Gambas
Benoit Minisini
gambas at ...1...
Thu Apr 3 16:16:37 CEST 2008
On jeudi 3 avril 2008, David Villalobos Cambronero wrote:
> Yes again, but not all MySQL data types are defined in Gambas (of course)
> and What I want is difine all of them since types like Integer has
> arguments.
>
> But what I will do is, as much as I can I will use Gambas data types for
> MySQL.
>
> David
>
Actually no MySQL datatypes are defined in Gambas at all: you don't see them,
they are converted automatically as explained in
http://gambasdoc.org/doc/db-type-mapping.
So, as you can deal with MySQL datatypes only inside a SQL request, and so
with a string, I don't see the point at making constant with them, as they
are already string constants.
Of course, if you write your code in C with the MySQL C client library, this
is another story...
Regards,
--
Benoit Minisini
More information about the Devel
mailing list