ph-dev-tools
Version:
Development Tools for PHibernate
23 lines (19 loc) • 594 B
text/typescript
/**
* Created by Papa on 4/29/2016.
*/
import {Repository} from "phibernate";
import {QRepository} from "phibernate";
import {Goal} from "../model/Goal";
import {QGoal} from "../../../generated/track/model/goal";
import {Query} from "phibernate";
()
export abstract class GoalRepository extends QRepository<Goal, QGoal, GoalRepository> {
findOtherByTaskNameLikeWithTasks:{( taskName:string ):Promise<Goal[]>};
(`
WHERE OTHER
tasks.name LIKE :taskName
INCLUDE
tasks
`)
sameQueryAsTheAboveOne:{( taskName:string ):Promise<Goal[]>};
}