Skip to content

Commit fb61131

Browse files
committed
fix backlink param
1 parent d4fd200 commit fb61131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objectbox-java/src/main/java/io/objectbox/query/QueryBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ public <TARGET> QueryBuilder<TARGET> link(RelationInfo<TARGET> relationInfo) {
294294
private <TARGET> QueryBuilder<TARGET> link(RelationInfo relationInfo, EntityInfo relationOwner, EntityInfo target,
295295
boolean backlink) {
296296
int propertyId = relationInfo.targetIdProperty != null ? relationInfo.targetIdProperty.id : 0;
297-
long linkQBHandle = nativeLink(handle, storeHandle, relationOwner.getEntityId(), target.getEntityId(), propertyId,
298-
relationInfo.relationId, relationInfo.isBacklink());
297+
long linkQBHandle = nativeLink(handle, storeHandle, relationOwner.getEntityId(), target.getEntityId(),
298+
propertyId, relationInfo.relationId, backlink);
299299
return new QueryBuilder<>(storeHandle, linkQBHandle);
300300
}
301301

0 commit comments

Comments
 (0)