Steve Schwarz wrote:

ModularDb is quite stable and Christian has been very helpful in answering any questions. I can't quite put a finger on what is "wrong"

:-D this saves me writing "go ahead, just ask" :-)


BTW I've been reading docs on SOFIA recently and am wondering if we
should provide a _second_, less powerful but simpler interface to esql:

<ol>
  <esql:simple-query
        connection="pool-name"
        from="list of tables"
        [where="some expression"]
        [order="list of attributes"]>

        <li><esql:get-string name="foo"/></li>
        
  </esql:simple-query>
</ol>

and have the attribute names collected from the nested esql:get-...
tags. Maybe even allow for nesting and grouping in there but no paging,
no conditional result blocks etc.

compare to the current, more verbose version

<ol>
  <esql:connection>
     <esql:pool>pool-name</esql:pool>
     <esql:execute-query>
       <esql:query>select * from list-of-tables where expression
             order by list-of-atttributes</esql:query>
       <esql:results>
          <esql:row-results>
             <li><esql:get-string name="foo"/></li>
          </esql:row-results>
       </esql:results>
     </esql:execute-query>
  </esql:connection>
</ol>

Thoughts?

Chris.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to