geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageConnection.java
@Override
    public int count(String table, String where, String[] args) {

        StringBuilder countQuery = new StringBuilder();
        countQuery.append("select count(*) from ").append(CoreSQLUtils.quoteWrap(table));
        if (where != null) {
            countQuery.append(" where ").append(where);
        }
        String sql = countQuery.toString();

        int count = querySingleInteger(sql, args, true);

        return count;
    }
@Override
    public int count(String table, String where, String[] args) {

        StringBuilder countQuery = new StringBuilder();
        countQuery.append("select count(*) from ").append(CoreSQLUtils.quoteWrap(table));
        if (where != null) {
            countQuery.append(" where ").append(where);
        }
        String sql = countQuery.toString();

        int count = querySingleInteger(sql, args, true);

        return count;
    }
@ Override public int count ( String table , String where , String [ ] args ) { StringBuilder countQuery = new StringBuilder ( ) ; countQuery . append ( "select count(*) from " ) . append ( CoreSQLUtils . quoteWrap ( table ) ) ; if ( where != null ) { countQuery . append ( " where " ) . append ( where ) ; } String sql = countQuery . toString ( ) ; int count = querySingleInteger ( sql , args , true ) ; return count ; }
{@inheritDoc}
{