Prepares a statement with the given parameters

Property definitions

postgresql $ NativePostgres :: prepare
  # Prepares a statement with the given parameters
  fun prepare(stmt: String, query: String, nParams: Int): NativePGResult import String.to_cstring `{
    const char * stmtName = String_to_cstring(stmt);
    const char * queryStr = String_to_cstring(query);
    PGresult * res = PQprepare(self, stmtName, queryStr, nParams, NULL);
    return res;
  `}
lib/postgresql/native_postgres.nit:101,3--107,4