Retrieve only specific keys from collection

前端 未结 2 716
迷失自我
迷失自我 2020-12-20 18:55

I would like to store an array of notes, where each note contains a title and a body. Is it possible to retrieve the list of note titles without the body?

For exampl

2条回答
  •  清歌不尽
    2020-12-20 19:28

    Absolutely, when you set the title or body values for the note be sure to set a priority. You can then bind to the notes endpoint (receive events and data) limited to keys matching a specified priority.

提交回复
热议问题