pub async fn toggle_table_col(
user_id: i64,
table: &str,
column: &str,
) -> Result<bool, Error>Expand description
gaps2 #11 round 2 — flip a column’s visibility on
preferences.tables.<table>.hidden_cols. Idempotent toggle:
already-hidden → visible, already-visible → hidden. Returns
the new visibility (true = now visible, false = now hidden)
so the caller can emit a precise HX-Trigger payload.