The SDK provides several ways for accessing records stored in the application's DWN using the query and read methods.
How to query records