docs: function do_delete(self, ObjType, obj) {
  	return nr_fcall("nopg:do_delete", function() {
  		if(!(obj && obj.$id)) { throw new TypeError("opts.$id invalid: " + util.inspect(obj) ); }
  		var query, params;
  		query = "DELETE FROM " + (ObjType.meta.table) + " WHERE id = $1";
  		params = [obj.$id];
  		return do_query(self, query, params);
  	});
  }