json-fs-query
    Preparing search index...

    Function dropRecord

    • Run a parsed drop statement: an error if the record doesn't exist, unless the statement says if exists (then nothing happens and the result is null). Otherwise drop() it and resolve to the definition it had.

      Parameters

      • entity: string
      • ifExists: boolean

      Returns Promise<recordDefinition>