Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 <Request method="GET" >
      <Sql id="posts" when="empty $url">
       select POST_ID, PAGE_URL,CREATION_DATE,
       from METAMUG_POST 
       where METAMUG_POST_PAGE_URL is not null 
       order by METAMUG_POST_CREATION_DATE desc
      </Sql> 
      <Sql id="post_info" >
        select * from 
        METAMUG_POST 
        where METAMUG_POST_PAGE_URL = $url;
      </Sql>
</Request>

...

Code Block
<Sql id="post_info" when="not empty $url">
        select * from 
        METAMUG_POST 
        where METAMUG_POST_PAGE_URL = $url;
</Sql>


Related Example

Fetch data for null request parameter from table