Options
All
  • Public
  • Public/Protected
  • All
Menu

Module database/queries/journaux

Index

Functions

Const createJournalCreate

  • createJournalCreate(id: string, userId: string, titreId: string): Promise<void>

Const deleteJournalCreate

  • deleteJournalCreate(id: string, model: typeof Model, userId: string, titreId: string, trx?: Transaction): Promise<void>

Const journauxGet

Const patchJournalCreate

  • patchJournalCreate<T>(id: string, partialEntity: Partial<T>, model: typeof Model, userId: string, titreId: string): Promise<Model>
  • Type parameters

    • T: Model<T>

    Parameters

    • id: string
    • partialEntity: Partial<T>
    • model: typeof Model
    • userId: string
    • titreId: string

    Returns Promise<Model>

Const upsertJournalCreate

  • upsertJournalCreate<T>(id: string, entity: PartialModelGraph<T, T & GraphParameters>, model: typeof Model, options: UpsertGraphOptions, relations: RelationExpression<M>, userId: string, titreId: string): Promise<T>
  • Type parameters

    • T: Model<T>

    Parameters

    • id: string
    • entity: PartialModelGraph<T, T & GraphParameters>
    • model: typeof Model
    • options: UpsertGraphOptions
    • relations: RelationExpression<M>
    • userId: string
    • titreId: string

    Returns Promise<T>

Generated using TypeDoc