annotate base/database/generics.lisp @ 330:2fbff655ba47 tip

Removed cpitch-adj and cents SQL columns
author Jeremy Gow <jeremy.gow@gmail.com>
date Mon, 21 Jan 2013 11:08:11 +0000
parents 7038c3dc0a5a
children 6a3adca16910
rev   line source
j@287 1 (cl:in-package #:amuse-database-admin)
j@287 2
j@287 3 (defgeneric make-composition-identifier (package composition-id))
j@309 4
j@309 5
j@309 6 ;;;====================================================================
j@309 7 ;;; Generic functions for querying the database
j@309 8 ;;;
j@309 9 ;;; FIXME: how sane is this? The idea was to have a general mtp-admin.
j@309 10 ;;;
j@309 11 ;;; What about arbitrary SQL conditions? Might be useful for general
j@309 12 ;;; searching, and defining new datasets (which I currently do by
j@309 13 ;;; writing the resuls of a SQL query to a file (e.g. `all the Beatles
j@309 14 ;;; songs'), and then reading the file into lisp). Amuse-midi-db
j@309 15 ;;; implements these methods.
j@309 16 ;;;
j@309 17 ;;; Also, should this kind of generality be extended to data import
j@309 18 ;;; and export?
j@309 19 ;;; =====================================================================
j@309 20
j@309 21 (defgeneric list-collections (package-object &key compositions stream))
j@309 22
j@309 23 (defgeneric list-compositions (package-object &key
j@309 24 collection-identifier stream))