M
Size: a a a
M
Д
ШД
const storySchema = Schema({
authors: [{ type: Schema.Types.ObjectId, ref: 'Person' }],
title: String
});
// Later
const story = await Story.findOne({ title: 'Casino Royale' }).populate('authors');
story.authors; // []Д
const storySchema = Schema({
authors: [{ type: Schema.Types.ObjectId, ref: 'Person' }],
title: String
});
// Later
const story = await Story.findOne({ title: 'Casino Royale' }).populate('authors');
story.authors; // []Д
АП
const storySchema = Schema({
authors: [{ type: Schema.Types.ObjectId, ref: 'Person' }],
title: String
});
// Later
const story = await Story.findOne({ title: 'Casino Royale' }).populate('authors');
story.authors; // []ШД

AH
AH
¿
S
AH
AH
S
S
S
S
S
AH
const SIG_KEY = ecc.signHash(data, '5KC714iAkjtmFTr8d7P8Uu7rkdMyjitRmkNEwB8D7j4fwGea9Cb', 'hex')
const CHECK_SUM_256 = ecc.sha256(SIG_KEY);
получаю 256SHAS