geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java
public UserCustomCursor queryByIds(long baseId, long relatedId) {
        return query(buildWhereIds(baseId, relatedId),
                buildWhereIdsArgs(baseId, relatedId));
    }
public UserCustomCursor queryByIds(long baseId, long relatedId) {
        return query(buildWhereIds(baseId, relatedId),
                buildWhereIdsArgs(baseId, relatedId));
    }
Query by both base id and related id

@param baseId    base id
@param relatedId related id
@return cursor