Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 445 Bytes
;; ------------------------------------------------
;; 5.10-read-loans-with-status
;; ------------------------------------------------
;; define a function named read-loans-with-status that takes the parameter status
(defun read-loans-with-status (status)
;; select all values from the loans-table where "status" equals the parameter status
(select loans-table (where "status" (= status)))
)
;; final parenthesis to close module
)
You can’t perform that action at this time.