NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
CREATE TABLE abstraction? (Score:1)
Does this allow you to describe a table structure and dump out SQL statements to create it in various databases? That'd surely be useful!
Reply to This
Re:CREATE TABLE abstraction? (Score:3, Funny)
Re:CREATE TABLE abstraction? (Score:1)
Now that you mention it, Alzabo::Create::Schema [cpan.org] looks extremely useful. Darn you for making my life easier yet again!
Re:CREATE TABLE abstraction? (Score:1)
Maybe. I'm only targeting PosgretSQL at the moment, but it should be easy to target other RDBMSes too, as this would mostly* entail making a few new SQL templates.
* There are bound to be some PostgreSQLisms outside of the templates; hopefully, not many.
Here's a much-abridged example of a table definition:
tables/Orders/definition.yml
Re:CREATE TABLE abstraction? (Score:2)
And you can create it all from dia which is nice - should be easy to create your other stuff from dia too.
I am currently working on a new project to combine schema and code creation so that you can create your databases, your queries (all kept in a nice phrasebook natch), and documentation from a couple of perl scripts.
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Re:CREATE TABLE abstraction? (Score:1)