annotate base/database/generics.lisp @ 253:b5ffec94ae6d

some very sketchy Charm constituent code
author Jamie Forth <j.forth@gold.ac.uk>
date Thu, 24 Feb 2011 11:23:18 +0000
parents 6a3adca16910
children
rev   line source
j@216 1 (cl:in-package #:amuse-database-admin)
j@216 2
j@235 3 ;;;====================================================================
j@235 4 ;;; Generic functions for querying the database
j@235 5 ;;;
j@235 6 ;;; FIXME: how sane is this? The idea was to have a general mtp-admin.
j@235 7 ;;;
j@235 8 ;;; What about arbitrary SQL conditions? Might be useful for general
j@235 9 ;;; searching, and defining new datasets (which I currently do by
j@235 10 ;;; writing the resuls of a SQL query to a file (e.g. `all the Beatles
j@235 11 ;;; songs'), and then reading the file into lisp). Amuse-midi-db
j@235 12 ;;; implements these methods.
j@235 13 ;;;
j@235 14 ;;; Also, should this kind of generality be extended to data import
j@235 15 ;;; and export?
j@235 16 ;;; =====================================================================
j@235 17
j@235 18 (defgeneric list-collections (package-object &key compositions stream))
j@235 19
j@235 20 (defgeneric list-compositions (package-object &key
j@235 21 collection-identifier stream))