Ask Your Question

Revision history [back]

where is `sage.databases.db.Database-`

I am trying to port some older Sage code (I think for Sage 5.4 or so). It uses sage.databases.db.Database but that doesn't seem to exist anymore. Where is it?

click to hide/show revision 2
No.2 Revision

where is `sage.databases.db.Database-`

I am trying to port some older Sage code (I think for Sage 5.4 or so). It uses sage.databases.db.Database but that doesn't seem to exist anymore. Where is it?

The file I'm trying to update is euler_database.py.

click to hide/show revision 3
No.3 Revision

where is `sage.databases.db.Database-`

I am trying to port some older Sage code (I think for Sage 5.4 or so). It uses sage.databases.db.Database but that doesn't seem to exist anymore. Where is it?

The file I'm trying to update is euler_database.py.


Edit: Can I just use

from sage.databases.all import SQLDatabase as Database

?