(&self)
| 913 | |
| 914 | impl SubscribeOutput { |
| 915 | pub fn row_order(&self) -> &[ColumnOrder] { |
| 916 | match self { |
| 917 | SubscribeOutput::Diffs => &[], |
| 918 | // This ordering prepends the diff, so its `order_by` field cannot be applied to rows. |
| 919 | SubscribeOutput::WithinTimestampOrderBy { .. } => &[], |
| 920 | SubscribeOutput::EnvelopeUpsert { order_by_keys } => order_by_keys, |
| 921 | SubscribeOutput::EnvelopeDebezium { order_by_keys } => order_by_keys, |
| 922 | } |
| 923 | } |
| 924 | } |
| 925 | |
| 926 | #[derive(Debug, Clone)] |
no outgoing calls
no test coverage detected