API: Functionality for handling multi-packets #1

Closed
opened 2024-03-06 04:55:55 +00:00 by saji · 1 comment
Owner

Currently I've only been considering the case of non-repeated packets. Consider how to interface with indexed packets. This may require modifying the database structure (adding a nullable index column) or by adjusting the query logic (to support checking against certain indexes).

Currently I've only been considering the case of non-repeated packets. Consider how to interface with indexed packets. This may require modifying the database structure (adding a nullable index column) or by adjusting the query logic (to support checking against certain indexes).
saji changed title from API: functionality for handling multi-packets to Functionality for handling multi-packets 2024-03-06 13:17:15 +00:00
saji changed title from Functionality for handling multi-packets to API: Functionality for handling multi-packets 2024-03-06 18:09:48 +00:00
Author
Owner

Closed with c9b73ee006. I added a migration that alters the bus_events table to add a virtual column that pulls the idx key from the JSON. The BusEventsFilter struct has also been modified to accept an array of indexes, but this can result in funky queries if there's i.e multiple names and multiple indexes. That's not a supported usecase so we won't worry about it.

Closed with c9b73ee006cbf5f23886b2fbc8798e652c3c8afb. I added a migration that alters the `bus_events` table to add a virtual column that pulls the `idx` key from the JSON. The BusEventsFilter struct has also been modified to accept an array of indexes, but this can result in funky queries if there's i.e multiple names and multiple indexes. That's not a supported usecase so we won't worry about it.
saji closed this issue 2024-03-07 00:42:26 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: saji/gotelem#1
No description provided.