Random database generator

M

Martin DeMello

Partly as a way of learning ruby/db interaction, and partly because it's
an app I've felt the need for, I'm thinking of writing a random database
generator (i.e. something that'll read in a schema, and populate it with
random records). Basically, a low-powered version of
http://www.gsapps.com/products/datagenerator/ - it should make
intelligent guesses about columns like Name, and at the very least have
predefined lists of items like names, address components, colours etc.
that the user can annotate a field with and have it filled in from the
list. Any pointers on the libraries I should be looking at?

martin
 
G

gabriele renzi

il Sun, 26 Oct 2003 13:10:10 GMT, Martin DeMello
Partly as a way of learning ruby/db interaction, and partly because it's
an app I've felt the need for, I'm thinking of writing a random database
generator (i.e. something that'll read in a schema, and populate it with
random records). Basically, a low-powered version of
http://www.gsapps.com/products/datagenerator/ - it should make
intelligent guesses about columns like Name, and at the very least have
predefined lists of items like names, address components, colours etc.
that the user can annotate a field with and have it filled in from the
list. Any pointers on the libraries I should be looking at?

ruby-dbi and the various dbms-specific modules, I suppose.
BTW the project looks really cool :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top