deb
This commit is contained in:
parent
811029d84e
commit
9fd562551f
1 changed files with 5 additions and 1 deletions
|
|
@ -450,11 +450,15 @@ class StorageProcessor {
|
|||
|
||||
private async handleFind(operation: FindOperation<any>) {
|
||||
if(operation.entity == 'BalanceEvent') {
|
||||
console.log(operation.q)
|
||||
//@ts-ignore
|
||||
console.log(operation.q.where?.created_at._value)
|
||||
}
|
||||
const res = await this.handleRead(operation.txId, eM => {
|
||||
return eM.getRepository(this.getEntity(operation.entity)).find(operation.q)
|
||||
})
|
||||
if(operation.entity == 'BalanceEvent') {
|
||||
console.log(res)
|
||||
}
|
||||
this.sendResponse({
|
||||
success: true,
|
||||
type: 'find',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue