Get a saved query to return all fields
  • I know I can use * to return all fields in a dynamic query but how do I do that in a saved query.  The below example shows a few fields from my plan schema but I do not want to type them all out if I can just do a * somehow
      
     
    <query> 
          <executeACL>creator</executeACL> 
          <store>defaultStore</store> 
          <condition><![CDATA[ apsdb.schema <string> = "plan" and apsdb.documentKey<string>={documentKey}]]></condition>
          <returnedFields> 
               <field>what</field>
               <field>details</field>
               <field>where</field>
               <field>with</field>
               <field>rsvpYesCount</field>
               <field>rsvpNoCount</field> 
               <field>rsvpPendingCount</field>         
          </returnedFields> 
          <count>true</count> 
    </query>
  • Hi Pete,

    Sorry for the late reply.

    Unfortunately, the list of returned fields is inclusive, not exclusive and there are not shortcuts to include all fields by default.

    Karim

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!