Il 20/08/13 09:56, Manuele Pesenti ha scritto:
> Hi!
> What's the right way to ask to a NoSQL engine like mongodb if a
> table/database already exists?
> Can I obtain from my db (a DAL object) or their adaper/connection a
> mongodb  interpreter for the command "show dbs" for example?
I answere myself hoping to be of any help to someone else...

> conn = db._adapter.connection
> tablename in conn.collection_names()

Cheers

    manuele

>
> Thank you very much
>
> Cheers
>
>     Manuele

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to