Appearance
Documentation / @kizami/db / getDepartmentById
Function: getDepartmentById()
getDepartmentById(
db,params):Promise<{createdAt:number;id:string;name:string;parentId:string|null;tenantId:string; } |null>
Defined in: packages/db/src/queries/departments.ts:21
Parameters
db
params
id
string
tenantId
string
Returns
Promise<{ createdAt: number; id: string; name: string; parentId: string | null; tenantId: string; } | null>