Closed skrosoft closed 5 years ago
Ok, I could resolve my problem, here is the code:
const params = {
subject: 'authorizationToken',
type: 'Equals',
object: '9c75a9e5-8d8b-41b6-99c7-30020573ced2'
};
const options = {
indexName: 'authorizationTokenIndex'
};
for await (const foo of mapper.query(PaymentServiceProvider, params, options)) {
console.log("FOUND: ", foo);
}
Hope it will help someone.
Hello,
Is there a working example of a query over an Index?
I am trying this using
QueryOptions
since 2 days ago and can't get it working...The documentation says:
So, how can I make a "where" over my indexed column?
Thanks