Skip to content

Instantly share code, notes, and snippets.

@sneljo1
Created March 9, 2018 17:01
Show Gist options
  • Save sneljo1/f5ba36e303cf0747328de8fe41038178 to your computer and use it in GitHub Desktop.
Save sneljo1/f5ba36e303cf0747328de8fe41038178 to your computer and use it in GitHub Desktop.
async getQueryResult(stubHelper: StubHelper, args: string[]): Promise<any> {
const query = {
selector: {
model: {
"$in": ['Nano', "Punto"]
}
}
};
return await stubHelper.getQueryResultAsList(query);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment