summaryrefslogtreecommitdiff
path: root/lisp/sql/general-pkg.lisp
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2024-05-25 18:03:25 -0600
committerckonstanski <carlos.konstanski@olo.com>2024-05-25 18:03:25 -0600
commitb8423f4d05c75094b7b9d09c6f0bb353acc9be1c (patch)
tree3732f71f84191b26f038130c2220fb502d738251 /lisp/sql/general-pkg.lisp
initial commit
Diffstat (limited to 'lisp/sql/general-pkg.lisp')
-rw-r--r--lisp/sql/general-pkg.lisp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/sql/general-pkg.lisp b/lisp/sql/general-pkg.lisp
new file mode 100644
index 0000000..162d60b
--- /dev/null
+++ b/lisp/sql/general-pkg.lisp
@@ -0,0 +1,14 @@
+;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+(declaim (optimize (speed 0) (safety 3) (debug 3)))
+
+(in-package :woodriverlessons)
+
+(defclass general-pkg (record-pkg)
+ ()
+ (:documentation ""))
+
+(defmethod get-about-us ((general-pkg general-pkg))
+ (car (get-records general-pkg (make-instance 'about-us) nil)))
+
+(defmethod get-testimonials ((general-pkg general-pkg))
+ (car (get-records general-pkg (make-instance 'testimonials) nil)))