obm_sql_query | R Documentation |
It is a simple SQL Query interface function
obm_sql_query( sqlcmd, username = "", password = "", paranoid = T, port = 5432, database = "gisdata" )
sqlcmd |
username most probably automatically set by create_pg_user module password most probably automatically set by create_pg_user module paranoid password promt type postgres server port, default is 5432 database remote database, default is gisdata |
obm_sql_query("SELECT DATE_PART('day', enddate::timestamp - startdate::timestamp) AS days FROM nestboxes WHERE enddate IS NOT NULL AND startdate IS NOT NULL ORDER BY days")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.