Last active
August 31, 2022 09:49
-
-
Save pavanjoshi914/d2fa9e9a5670ee8e5031a5fedbfe498d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// querying a single field having information about type of metadata | |
const metadataType = await db.metadata.get('type') | |
.where("host") | |
.equalsIgnoreCase(current_running_host) | |
.first(); | |
console.log(metadataType); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment