packages/adapter-flat-file-db/index.js
async function getAll(options) {
    const data = {};
    const keys = filterPaths(await module.exports.keys(), options);

    for (let key of keys) {
      data[key] = await module.exports.get(key, {
        before: options.before,
        after: options.after,
      });
    }

    await Promise.all(keys);

    return data;
  }
async function getAll(options) {
    const data = {};
    const keys = filterPaths(await module.exports.keys(), options);

    for (let key of keys) {
      data[key] = await module.exports.get(key, {
        before: options.before,
        after: options.after,
      });
    }

    await Promise.all(keys);

    return data;
  }
async function getAll ( options ) { const data = { } ; const keys = filterPaths ( await module . exports . keys ( ) , options ) ; for ( let key of keys ) { data [ key ] = await module . exports . get ( key , { before : options . before , after : options . after , } ) ; } await Promise . all ( keys ) ; return data ; }
Get all values starting with a certain pathname and filter their views
Get all values starting with a certain pathname and filter their views