Android & PostgreSQL (application/pdf - 311.5 KB) - PGCon
Android & PostgreSQL (application/pdf - 311.5 KB) - PGCon
Android & PostgreSQL (application/pdf - 311.5 KB) - PGCon
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
JDBC Escapes<br />
A special escape syntax that is JDBC specific and database agnostic:<br />
http://jdbc.postgresql.org/documentation/head/escapes.html<br />
Dates and timestamps:<br />
s t . executeQuery ( ”SELECT { fn week ({ d ’2005 −01 −24 ’})}; ” ) ;<br />
s t . executeQuery (<br />
”SELECT { fn week ({ t s ’2005−01−24 1 2 : 1 3 : 1 4 . 1 5 ’ } ) } ; ” ) ;<br />
Joins:<br />
s t . executeQuery (<br />
”SELECT ∗ FROM { o j a LEFT OUTER JOIN b ON ( a . i = b . i ) } ; ” ) ;<br />
Scalar functions:<br />
s t . executeQuery ( ”SELECT { fn abs ( −1)}; ” ) ;<br />
markwkm (<strong>PGCon</strong>2011) <strong>Android</strong> & <strong>PostgreSQL</strong> 20 May 2011 29 / 37