Does Cloud Firestore saves strings with newline \n characters (multiline)?

前端 未结 1 983
攒了一身酷
攒了一身酷 2020-12-11 13:08

Apparently Cloud Firestore console does not display newline characters inside strings. Is there a way to inspect them?

This string

相关标签:
1条回答
  • 2020-12-11 13:31

    Strings are stored unmodified, but various parts of the Firestore console show the newline character in different ways. Also see my previous answer on Firebase Firestore new line command and Doug's answer here: New Line Command (\n) Not Working With Firebase Firestore Database Strings.

    Since the behavior is confusing to you, please file a bug report. But rest assured: your newline characters are stored and read correctly.

    0 讨论(0)
提交回复
热议问题