app/src/main/java/db/juhaku/juhakudb/filter/QueryProcessor.java
/**
     * Resolves table's primary key column's name for given model class. The model class must be an
     * entity in database. Resolving is made silently and if any error will occur a {@link QueryBuildException}
     * will be thrown.
     *
     * @param model Instance of {@link Class} of model class of entity.
     * @return String primary key column name.
     *
     * @since 1.2.0
     */
Resolves table's primary key column's name for given model class. The model class must be an
entity in database. Resolving is made silently and if any error will occur a  QueryBuildException
will be thrown.

@param model Instance of  Class of model class of entity.
@return String primary key column name.


Resolves table ' s primary key column ' s name for given model class . The model class must be an entity in database . Resolving is made silently and if any error will occur a QueryBuildException will be thrown . @param model Instance of Class of model class of entity . @return String primary key column name .
private static String resolvePrimaryKey(Class<?> model) {
        try {
            return NameResolver.resolveIdName(model);
        } catch (NameResolveException e) {
            throw new QueryBuildException("Failed to build query, reason: " + e.getMessage(), e);
        }
    }
private static String resolvePrimaryKey ( Class < ? > model ) { try { return NameResolver . resolveIdName ( model ) ; } catch ( NameResolveException e ) { throw new QueryBuildException ( "Failed to build query, reason: " + e . getMessage ( ) , e ) ; } }
Resolves table's primary key column's name for given model class.
Resolves table ' s primary key column ' s name for given model class .