Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: add has() and hasMany() #142

Open
1 of 7 tasks
vweevers opened this issue Dec 27, 2024 · 0 comments
Open
1 of 7 tasks

Epic: add has() and hasMany() #142

vweevers opened this issue Dec 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vweevers
Copy link
Member

vweevers commented Dec 27, 2024

Per the feature request of #106. Will add two methods:

await db.put('love', 'u')
await db.has('love') // true
await db.hasMany(['love', 'hate']) // [true, false]

Tasks:

@vweevers vweevers added the enhancement New feature or request label Dec 27, 2024
@vweevers vweevers added this to Level Dec 27, 2024
@vweevers vweevers moved this to In Progress in Level Dec 27, 2024
vweevers added a commit to Level/supports that referenced this issue Dec 27, 2024
Ref: Level/community#142
Category: addition
vweevers added a commit to Level/supports that referenced this issue Dec 27, 2024
Ref: Level/community#142
Category: addition
vweevers added a commit to Level/abstract-level that referenced this issue Dec 27, 2024
Adds two methods:

```js
await db.put('love', 'u')
await db.has('love') // true
await db.hasMany(['love', 'hate']) // [true, false]
```

Ref: Level/community#142
Category: addition
vweevers added a commit to Level/abstract-level that referenced this issue Dec 27, 2024
Adds two methods:

```js
await db.put('love', 'u')
await db.has('love') // true
await db.hasMany(['love', 'hate']) // [true, false]
```

Ref: Level/community#142
Category: addition
vweevers added a commit to Level/abstract-level that referenced this issue Dec 29, 2024
Adds two methods:

```js
await db.put('love', 'u')
await db.has('love') // true
await db.hasMany(['love', 'hate']) // [true, false]
```

Ref: Level/community#142
Category: addition
vweevers added a commit to Level/abstract-level that referenced this issue Dec 29, 2024
Adds two methods:

```js
await db.put('love', 'u')
await db.has('love') // true
await db.hasMany(['love', 'hate']) // [true, false]
```

Ref: Level/community#142
Category: addition
vweevers added a commit to Level/classic-level that referenced this issue Dec 29, 2024
Adds support of two methods:

```js
await db.put('love', 'u')
await db.has('love') // true
await db.hasMany(['love', 'hate']) // [true, false]
```

Depends on a pending `abstract-level` release, and lacks support of
explicit snapshots which should be implemented after #110 lands.

Ref: Level/community#142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant