refactor: make all() take filter
and sort
options
refactor: return unload item entries from all()/find()
This commit is contained in:
parent
3214d17b80
commit
05178c924f
8 changed files with 308 additions and 206 deletions
15
README.md
15
README.md
|
@ -168,18 +168,3 @@ SQL against data still stored on disk in a nicely human browsable format.
|
|||
| FSDB_LOG_EVENTS | set to true to log the events system |
|
||||
|
||||
## TODO
|
||||
|
||||
- [ ] make all()/find() return something like
|
||||
|
||||
```
|
||||
{
|
||||
file_info,
|
||||
entry: {
|
||||
private data = undefined;
|
||||
load() => {
|
||||
data = data ?? await Deno.readTextFile(this.file_info.path);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue