CRUD service handling basic database operations
Initialize the CRUD service
Configured Supabase client
Create a new record in the specified table
Table name
Data to insert
Promise resolving to Result with created record
Read a record by ID from the specified table
Record ID
Promise resolving to Result with record or null
Update a record by ID in the specified table
Data to update
Promise resolving to Result with updated record
Delete a record by ID from the specified table
Promise resolving to Result indicating success or failure
List records from the specified table with optional basic filtering
Optional
Optional filters to apply
Promise resolving to Result with array of records
CRUD service handling basic database operations