HarperFast / HarperFast/harper

`search_by_conditions` to search by no conditions

Open
#542 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

### Feature Summary

We have `search_by_condition` and it requires at least one condition. I propose we allow no conditions and it return all records in the table.

### Problem This Solves

Other than the `sql` operations API, there's no way to unconditionally get all records in a table. Exporting to a local JSON file or CSV file is not a solution.

### Proposed Solution

Allow `searchObject.conditions` in `ResourceBridge` to be undefined/empty array.

### User Stories

As a retriever of all records, I want to retrieve all records so that I can iterate over all records.

### Alternatives Considered

Export to file, but that's not a solution in my use case.

### Priority/Impact

None

### Examples or References

_No response_

### Additional Context

I wonder how Fabric UI queries records without a condition? Hmm....

### Are you planning to fix this issue?

No, just reporting the issue

### First-time contributor support

- [ ] I'm new to contributing and would appreciate guidance on the process
- [ ] I'd like help understanding the project structure
- [ ] I need assistance with setting up the development environment
- [ ] I'm comfortable contributing, but new to this project specifically

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.