Skip to content

Filters support #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Filters Support
Added missing function to the file.
  • Loading branch information
galaxyse committed Aug 17, 2023
commit 6dd826130f57fae537ca35bf507a999846320ae9
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ public static Sort toPersistentSort(
.collect(Collectors.toList());
return Sort.by(orders);
}

public static String escapeProperty(final String str)
{
return escapeSortProperty(str);
}
private static String escapeSortProperty(final String str) {
// dots are not allowed at start/end
if (str.charAt(0) == '.' || str.charAt(str.length() - 1) == '.') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public ArangoParameters(final Method method) {
}

private ArangoParameters(final List<ArangoParameter> parameters, final int queryOptionsIndex,
final int bindVarsIndex) {
final int bindVarsIndex, final Map<String, Integer> filterIndexes, final int searchIndex) {
super(parameters);
this.queryOptionsIndex = queryOptionsIndex;
this.bindVarsIndex = bindVarsIndex;
Expand Down