summaryrefslogtreecommitdiff
path: root/queries.lisp
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-02-18 09:18:10 -0800
committercolin <colin@cicadas.surf>2023-02-18 09:18:10 -0800
commita6c251123bbe9c174294287d494c4be99e40287a (patch)
treeeb665c9d45f97c0ad84079ff146d78594d40e92b /queries.lisp
parenta0cfd78039197e45ce8dd8aacea4efb575c0b1c1 (diff)
Saturday Pair Session
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))
+