How to create a SQLite-database based on its description-classes?

21 views
Skip to first unread message

bvn13

unread,
Mar 5, 2012, 1:22:16 AM3/5/12
to rose-db...@googlegroups.com
I have described all the classes and now I want to create the SQLite-database based on them.
But I don't know, how?
Can Rose::DB help me with this job or I must to find the other way?

John Siracusa

unread,
Mar 5, 2012, 9:50:39 AM3/5/12
to rose-db...@googlegroups.com

There is no built-in way to generate a database schema from a set of
Rose::DB::Object classes. (It can go the other way: generate classes
from a database schema.) If someone wants to add this feature, some
kind of adapter for SQL::Translator
(http://search.cpan.org/dist/SQL-Translator/) might be one way to do
it.

-John

Reply all
Reply to author
Forward
0 new messages