Function appointment_view
pub fn appointment_view(
adapter: &dyn DatabaseOperations,
config: &DbBackendConfig,
schema: &AppSchema,
actor_id: i64,
appointment_id: Option<i64>,
) -> Result<Value, DatabaseError>Expand description
Reads appointment rows and only their related display records. A detail read authorizes the customer or business owner before reading customer contacts.