Hi,<br><br>It was really suboptimal. This patch hopefully fix it:<br><br>Mon Oct 19 15:33:08 CEST 2009 <a href="mailto:tomi.borbely@gmail.com">tomi.borbely@gmail.com</a><br> * optimization of queries that select slot values only<br>
<br>regards,<br>Tomi<br><br><div class="gmail_quote">2009/10/16 Mihai Bazon <span dir="ltr"><<a href="mailto:mihai@bazon.net">mihai@bazon.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I'm trying to write a query that selects only a few fields.<br>
<br>
Example that works:<br>
<br>
(select ((create-time-of o))<br>
(from (o db-template)))<br>
<br>
; SELECT _o._create_time FROM _db_template_ap _o<br>
<br>
Adding one more field though results in a SELECT that covers all<br>
fields:<br>
<br>
(select ((create-time-of o) (modify-time-of o))<br>
(from (o db-template)))<br>
<br>
; SELECT _o._oid, _o._edition, _o._create_time, _o._modify_time,<br>
_o._name, _o._body_type, _o._edited_body, _o._processed_body,<br>
_o._parent_oid FROM _db_template_ap _o<br>
<br>
Is there any way to fetch more than one field, but not all, in a single<br>
query?<br>
<br>
Thanks,<br>
-Mihai<br>
_______________________________________________<br>
Cl-perec-devel mailing list<br>
<a href="mailto:Cl-perec-devel@common-lisp.net">Cl-perec-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-perec-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/cl-perec-devel</a><br>
</blockquote></div><br>