Mastra.getStorage()
The .getStorage() method is used to retrieve the storage instance that has been configured in the Mastra instance.
Usage exampleUsage example的直接链接
mastra.getStorage()
ParametersParameters的直接链接
This method doesn't accept any parameters.
ReturnsReturns的直接链接
storage:
MastraCompositeStore | undefined
The configured storage instance, or undefined if no storage has been configured.