>
> By the way: How are you solving problem with new creating new database? I
> mean do you check if the table exist? Because I am using this code:
>
> try:
>     alreadyUsed.createTable()
>     Pathject.createTable()
>     print "I couldn´t find any table so I h´ve created one!"
>
> except dberrors.OperationalError:
>     pass
>
> But I think it´s a dirty...  And one more thing: it would be nice if there
> was some direct link to http://wiki.sqlobject.org/ from
> http://www.sqlobject.org/ because on wiki are really useful information...
>
>
>
>
   1. do not top post, please

   2. try to reply/send to sqlobject-discuss@lists.sourceforge.net instead
   of the direct mail

   3. maybe you are looking for this:

   Pathject.dropTable(ifExists=True), Pathject.createTable(ifNotExists=True)



HTH

Petr
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to