view implementations/midi-db/examples/example.lisp @ 313:aa2545163331

Twiddle meredith methods. Ignore-this: 57c8ad7ac505841068f1b69498245d1 darcs-hash:20100414185135-16a00-e5e008cec50a531fd23e01e57379adab5fa76c2b.gz
author j.forth <j.forth@gold.ac.uk>
date Wed, 14 Apr 2010 19:51:35 +0100
parents f99fd6a7bbfc
children 6a3adca16910
line wrap: on
line source
(cl:in-package #:amuse-midi-db)

(connect-to-database :database-name "amuse")

(list-collections *package*)

(list-compositions *package*) ; FIXME: is it a good idea for this to
			      ; be general or not?

(list-collections *package* :compositions t) ; list both collections
					     ; and compositions

(defparameter *composition*
  (get-composition (make-midi-db-composition-identifier 1)))