use withResource in postgresql-orm