Package com.jbidwatcher.util

Examples of com.jbidwatcher.util.Record


  public int countBy(String condition) {
    return countBySQL("SELECT COUNT(*) AS count FROM " + mTableName + " WHERE " + condition);
  }

  public int countBySQL(String sql) {
    Record rm = findFirst(sql);
    String count = (String) (rm.values().toArray()[0]);
    return Integer.parseInt(count);
  }
View Full Code Here

TOP

Related Classes of com.jbidwatcher.util.Record

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.