From e30ee019294e2abbbd3644b73e4327ae17df4392 Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Mon, 27 May 2024 14:52:07 -0600 Subject: gallery --- lisp/sql/generics.lisp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lisp/sql/generics.lisp') diff --git a/lisp/sql/generics.lisp b/lisp/sql/generics.lisp index 708856a..e45327c 100644 --- a/lisp/sql/generics.lisp +++ b/lisp/sql/generics.lisp @@ -94,6 +94,18 @@ sessionid.")) (defgeneric get-testimonials (record-pkg) (:documentation "Gets the one and only general.testimonials record.")) +(defgeneric get-gallery (general-pkg id) + (:documentation "Gets a general.gellery record by id.")) + +(defgeneric get-galleries (general-pkg) + (:documentation "Gets all general.gallery records sorted by modified desc.")) + +(defgeneric insert-gallery (general-pkg gallery) + (:documentation "Inserta a new general.gallery record.")) + +(defgeneric update-gallery (general-pkg gallery) + (:documentation "Updates an existing general.gallery record.")) + (defgeneric get-contact-us-posts (record-pkg user-id read-p) (:documentation "Gets contact.contact_us_posts records.")) -- cgit v1.3