Documentation
    Preparing search index...

    Hierarchy

    • BaseService
      • export=
    Index

    Constructors

    • Returns export=

    Methods

    • Generate method to add a many record to a table of DB together

      Parameters

      • data: any

      Returns Promise<any>

    • Generate method to add a new record to the DB

      Parameters

      • data: any
      • idPhysical: any
      • idLegal: any

      Returns Promise<any>

    • Generate method to remove a record from the DB

      Parameters

      • id: any

      Returns Promise<0 | 1>

    • Generate method to create a new record to the DB only if always doesn't exist else this record is return

      Parameters

      • data: any
      • filters: {} = {}

      Returns Promise<any[]>

    • Parameters

      • decodedToken: any
      • user: any
      • filterPermissions: any

      Returns Promise<any[]>

    • Generate method to get all records from a table of DB

      Returns Promise<any>

    • Allow to get all attributes from a table with their types

      Returns Promise<any>

    • Generate method to update a record to the DB

      Parameters

      • data: any
      • id: any

      Returns Promise<any>