json-fs-query
    Preparing search index...

    Function listFiles

    • Every file in a folder of the database and the folders inside it, as paths inside the database (such as users/1.json), sorted. During a statement it counts what the statement has written or deleted (see withWriteSet). A folder that doesn't exist has no files. Node only.

      Parameters

      • path: string = ''

        A path inside the database, such as users. Empty for the whole database.

      Returns Promise<string[]>