Skip to content
New issue

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

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

Already on GitHub? # to your account

Add has() and hasMany() #142

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

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
vweevers added a commit to Level/memory-level that referenced this issue Jan 5, 2025
Adds support of 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/memory-level that referenced this issue Jan 5, 2025
@vweevers vweevers changed the title Epic: add has() and hasMany() Add has() and hasMany() Jan 17, 2025
vweevers added a commit to Level/classic-level that referenced this issue Jan 26, 2025
Adds support of 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 Jan 26, 2025
Adds support of 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant