Returns the [Field] with the given field ids. The fields are unordered.
(&self, field_ids: Option<Vec<String>>)
| 741 | /// Returns the [Field] with the given field ids. |
| 742 | /// The fields are unordered. |
| 743 | pub fn get_fields(&self, field_ids: Option<Vec<String>>) -> Vec<Field> { |
| 744 | let txn = self.collab.transact(); |
| 745 | self.body.fields.get_fields_with_txn(&txn, field_ids) |
| 746 | } |
| 747 | |
| 748 | /// Get all fields in the database |
| 749 | /// These fields are ordered by the [FieldOrder] of the view |