decent-bet/solido

Add Projection query as in MongoDB for events

Opened this issue · 0 comments

MongoDB

db.coll('query', 'id, name, lastname');

Solido

const items = MyContract.projection(eventPromise, 'user')
// [{ user: 'john lopez'}, {user: 'don rodriguez' }]