You can also run ".schema" from the sqlite command line to get an SQL description of the database schema.
The elliptic curves database is not a SQL database, so it doesn't have a "schema" as such -- it's just a bunch of Python objects.
for any database that is a sqlite3 database, you could just use sqlite3 (the command line tool) to output the schema for the database (by doing sage -sh
then sqlite3 databasefile
). You'll have to find the database file in the SAGE_ROOT/data/
directory.
sage -sh
cd $SAGE_ROOT/data/graphs/
sqlite3 graphs.db
sqlite> select * from sqlite_master;
table|degrees|degrees|2|CREATE TABLE degrees(
...
You can also run ".schema" from the sqlite command line to get an SQL description of the database schema.
Asked: 14 years ago
Seen: 1,525 times
Last updated: Aug 20 '10