- let sth = dbh#prepare_cached "select id, title, description
- from pages
- where hostid = ? and url = ?
- and redirect is null" in
- sth#execute [`Int hostid; `String page];
+ let rows = PGSQL(dbh)
+ "select id, title, description from pages
+ where hostid = $hostid and url = $page and redirect is null" in