Re: Iteration syntax for UncommonSQL

Matthew Danish <[email protected]> Fri, 17 Jan 2003 05:11:42 -0500
Newsgroups gmane.lisp.uncommon-sql
Message-ID <[email protected]>
Here's an extract from some actual code:

       (sql:do-query ((id filename mime-type file-size)
                      [select [id] [filename] [mime-type] [file-size]
                              :from [attachment]
                              :where [= [request-id] (request-id self)]])
	...)

where id, filename, mime-type, and file-size are all slots in the
attachment view-class.

-- 
; Matthew Danish <[email protected]>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."