MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / get_fields

Method get_fields

collab/src/database/database.rs:743–746  ·  view source on GitHub ↗

Returns the [Field] with the given field ids. The fields are unordered.

(&self, field_ids: Option<Vec<String>>)

Source from the content-addressed store, hash-verified

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

Callers 2

update_field_settingsMethod · 0.80

Calls 2

get_fields_with_txnMethod · 0.80
transactMethod · 0.45

Tested by 1