getPrimaryKey(classToUse)
castIdToQuery(id:string,classToUse = this)
classToUse
- class to get the primary key from (default is this
)getIdFromQuery(query: any,classToUse = this, deleteProperty:boolean = true)
classToUse
- class to get the primary key from (default is this
).deleteProperty
- delete primary key property from the query (default is true
).getIdQuery():{[prop:string]:string}