refactor: Remove unused getters from QueryBuilder class

This commit is contained in:
anonpenguin 2025-06-19 21:30:21 +03:00
parent 8d3ccdc80c
commit 1e3c5d46be

View File

@ -634,24 +634,4 @@ export class QueryBuilder<T extends BaseModel> {
}
return cloned;
}
// Additional getters for testing
getCursor(): string | undefined {
return this.cursorValue;
}
getCacheOptions(): any {
return {
enabled: this.cacheEnabled,
ttl: this.cacheTtl,
key: this.cacheKey
};
}
getRelationships(): any[] {
return this.relations.map(relation => ({
relation,
constraints: this._relationshipConstraints?.get(relation)
}));
}
}