You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where(documentId(), "in", productIds) 와 같이 documentId()를 조건으로 사용하는 경우,
파이어베이스에서 documentId() 순으로 정렬이 되어 데이터가 반환이 된다.
따라서, productIds의 id 순서대로 데이터를 받고 싶을 경우에 문제가 생기게 된다.
이는 파이어베이스의 내부 처리 로직으로 보이기 때문에, 만약 위와 같이 productIds의 정렬과 동일한 결과가 필요하다면,
별도로 커스텀하여 sort를 해야한다.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
where(documentId(), "in", productIds) 와 같이 documentId()를 조건으로 사용하는 경우,
파이어베이스에서 documentId() 순으로 정렬이 되어 데이터가 반환이 된다.
따라서, productIds의 id 순서대로 데이터를 받고 싶을 경우에 문제가 생기게 된다.
이는 파이어베이스의 내부 처리 로직으로 보이기 때문에, 만약 위와 같이 productIds의 정렬과 동일한 결과가 필요하다면,
별도로 커스텀하여 sort를 해야한다.
예시 )

Beta Was this translation helpful? Give feedback.
All reactions