Skip to content

Instantly share code, notes, and snippets.

@KamilaBorowska
Created September 19, 2012 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KamilaBorowska/3748052 to your computer and use it in GitHub Desktop.
Save KamilaBorowska/3748052 to your computer and use it in GitHub Desktop.
glitchmr@strawberry ~/g/perl6-MiniDBI-ORM> perl6
> use MiniDBI::ORM; my $db = MiniDBI::ORM.new
MiniDBI::ORM.new()
> $db.connect: 'SQLite', :dbname<future>
MiniDBI::ORM.new()
> $db
MiniDBI::ORM.new()
> $db.create_table('items', :id<primary_key>, :name<VARCHAR(255)>, :price<FLOAT>)
0E0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment