Document disadvantage of fetching messages without index
This commit is contained in:
@@ -238,6 +238,8 @@ const _fetchMessagesRequiringSchemaUpgrade =
|
|||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// NOTE: Named ‘dangerous’ because it is not as efficient as using our
|
||||||
|
// `messages` `schemaVersion` index:
|
||||||
const _dangerouslyFetchMessagesRequiringSchemaUpgradeWithoutIndex =
|
const _dangerouslyFetchMessagesRequiringSchemaUpgradeWithoutIndex =
|
||||||
({ connection, count, lastIndex } = {}) => {
|
({ connection, count, lastIndex } = {}) => {
|
||||||
if (!isObject(connection)) {
|
if (!isObject(connection)) {
|
||||||
|
Reference in New Issue
Block a user