mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
I'm unsure why the previous code didn't work, but it's clearer, quicker and easier to read the `LastInsertID()` way. Previously, the code would panic as the SELECT would fail to find the last inserted row ID. |
||
|---|---|---|
| .. | ||
| account_data_table.go | ||
| backward_extremities_table.go | ||
| current_room_state_table.go | ||
| filtering.go | ||
| invites_table.go | ||
| output_room_events_table.go | ||
| output_room_events_topology_table.go | ||
| stream_id_table.go | ||
| syncserver.go | ||