margelo / margelo/react-native-nitro-sqlite
Support sqlite3_update_hook
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 565
- Forks
- 53
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 18
Description
We'd like to create a change feed. Whilst some ORM's support this within their own layers e.g. TypeORM Subscribers, we have some complex raw insert/update queries which it doesn't cover easily.
Would it be possible to expose SQLite's sqlite3_update_hook to attach a callback to cover this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files or tests. Start with SQLite's sqlite3_update_hook documentation, then locate the native SQLite integration and the React Native-facing API. Done means callers can register a callback that receives the requested SQLite update events for raw inserts and updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, react-native, sqlite
- Domain
- databases, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100