Advertisement
Guest User

Untitled

a guest
Mar 19th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.47 KB | None | 0 0
  1. ;;--------------------------------------------------------------------
  2. ;;  Nuclear codes
  3. ;;--------------------------------------------------------------------
  4.  
  5. (defroute "/codigos" ()
  6.   (let ((codigos (with-connection (db :agenda) (retrieve-all (select :* (from :codigo_nuclear) (order-by :id))))))
  7.     (loop for elemento in codigos
  8.       do (setf (getf elemento :fecha) (fecha-completa (getf elemento :fecha))))
  9.     (render #P"codigos/index.html" (list :codigos codigos))))
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement