sql: improve single-row detection (fix #47)
[sqlgg.git] / test / out / function.xml
blobf0e135a54c8b005bf0ea687476f8ca2bac3712b7
1 <?xml version="1.0"?>
3 <sqlgg>
4  <stmt name="statement_0" sql="CREATE OR REPLACE FUNCTION increment(i INT) RETURNS INT AS $$&#x0A;BEGIN&#x0A;    RETURN i + 1;&#x0A;END;&#x0A;$$ LANGUAGE plpgsql">
5   <in/>
6   <out/>
7  </stmt>
8  <stmt name="select_1" sql="SELECT increment(2)" kind="select" cardinality="1">
9   <in/>
10   <out>
11    <value name="_0" type="Int"/>
12   </out>
13  </stmt>
14 </sqlgg>