[Gambas-devel] MySQL class ready

David Villalobos Cambronero david_villalobos_c at ...7...
Sun Apr 20 20:44:10 CEST 2008


Hi Benoit

Can you take a look at the mysql project, I made some
changes.

The q project is an example.

Comments, please.

Best regards

David
--- Benoit Minisini <gambas at ...1...>
wrote:

> On samedi 19 avril 2008, David Villalobos Cambronero
> wrote:
> > Hi Benoit
> >
> > I'm trying to make things easier to understand I
> can make a Class for every
> > database object (tables, databases, fields,
> indexes, etc) following the
> > actual Gambas Database manager.
> >
> > For example: to add a field we have to do
> DB.MySQL.FieldDefinition(...) now
> > we do: DB.MySQL.Field.Add(...) Instead of
> DB.MySQL.AlterDataBase(...) we
> > have: DB.MySQL.DataBase.Modify(...) Instead of
> DB.MySQL.DropTable(...) we
> > have: DB.MySQL.Table.Delete(...), etc, etc.
> >
> > What do you think?
> >
> > Regards
> >
> > David
> >
> 
> That's OK. But some functions are not really needed
> (like DB.MySQL.DropTable, 
> DB.MySQL.Table.Delete...) as they are actually
> already implemented in the 
> gb.db component. But you can keep them for coherency
> reasons.
> 
> -- 
> Benoit Minisini
> 
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008
> JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still
> time to save $100. 
> Use priority code J8TL2D2. 
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/gambas-devel
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysql-2.99.1.tar.gz
Type: application/x-gzip-compressed
Size: 19812 bytes
Desc: 4147935443-mysql-2.99.1.tar.gz
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20080420/072be5a9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q-0.0.1.tar.gz
Type: application/x-gzip-compressed
Size: 10148 bytes
Desc: 3589650250-q-0.0.1.tar.gz
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20080420/072be5a9/attachment-0001.bin>


More information about the Devel mailing list