public QuerySet insert(String tableName, Hmap bean) throws SQLException { hasRan(); insert(tableName); updatedTables.add(tableName); for (String key : bean.keySet()) { set(key, bean.get(key)); } return this; }
public QuerySet update(String tableName, Hmap data) throws SQLException { hasRan(); update(tableName); updatedTables.add(tableName); for (String k : data.keySet()) { set(k, data.get(k)); } return this; }