Get columns from table (GNU Artanis web-framework Manual)

Next: , Previous: , Up: FPRM (experimental) [Contents]

15.6.4 Get columns from table

(m 'get table-name #:columns '(*) #:functions '() #:ret 'all
 #:group-by #f #:order-by #f)
#:functions '((count Persons.Lastname))

For example, to get Lastname and City column, and return the first result.

(m 'get 'Persons #:columns '(Lastname City) #:ret 'top)

AltStyle によって変換されたページ (->オリジナル) /