annotate base/database/generics.lisp @ 320:6c57b16a7829

Twiddle comment separators. Ignore-this: ff8dea522834ce66c6b0aee3bc54dd27 darcs-hash:20100604153923-16a00-029be21bba10fa97e77a694aec54086cc27003e8.gz
author j.forth <j.forth@gold.ac.uk>
date Fri, 04 Jun 2010 16:39:23 +0100
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))