summaryrefslogtreecommitdiff
path: root/queries.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'queries.lisp')
-rw-r--r--queries.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/queries.lisp b/queries.lisp
new file mode 100644
index 0000000..329ecb2
--- /dev/null
+++ b/queries.lisp
@@ -0,0 +1,7 @@
+;;;; queries.lisp -- query the database
+
+(in-package :dnd)
+
+(defun all-heroes ()
+ (db:store-objects-with-class 'hero))
+