j@216: (cl:in-package #:amuse-database-admin) j@216: j@235: ;;;==================================================================== j@235: ;;; Generic functions for querying the database j@235: ;;; j@235: ;;; FIXME: how sane is this? The idea was to have a general mtp-admin. j@235: ;;; j@235: ;;; What about arbitrary SQL conditions? Might be useful for general j@235: ;;; searching, and defining new datasets (which I currently do by j@235: ;;; writing the resuls of a SQL query to a file (e.g. `all the Beatles j@235: ;;; songs'), and then reading the file into lisp). Amuse-midi-db j@235: ;;; implements these methods. j@235: ;;; j@235: ;;; Also, should this kind of generality be extended to data import j@235: ;;; and export? j@235: ;;; ===================================================================== j@235: j@235: (defgeneric list-collections (package-object &key compositions stream)) j@235: j@235: (defgeneric list-compositions (package-object &key j@235: collection-identifier stream))