When all fields of Firestore documents selected using STAR selection (select * from users), the order of columns resulted is not always same.
This is because when STAR selected, FireQL don't explicitly request column selections to get all fields of Firestore collection and uses data returned by Firestore.DocumentSnapshot which is a map field and value pair where order of key is not always same.
One way to return the same columns always would be by sorting columns (map keys) returned by DocumentSnapshot.Data
When all fields of Firestore documents selected using STAR selection (
select * from users), the order of columns resulted is not always same.This is because when STAR selected,
FireQLdon't explicitly request column selections to get all fields of Firestore collection and uses data returned by Firestore.DocumentSnapshot which is a map field and value pair where order of key is not always same.One way to return the same columns always would be by sorting columns (map keys) returned by
DocumentSnapshot.Data