You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the new apply() method version only accepts function or string.
EDIT: Should I use restore() instead of apply()?
Would be nice to have some kind of Changelog with the new release to see at least any breaking changes.
consttransform=recs.transform<{directory: string,total: number,count: number,average: number}>(({ e, t })=>e().filter(({ e, t })=>e().lt(t.fecha,newDate())).groupBy(()=>[t.directory],f=>f.sum(t.size,'total').countdistinct(t.contentType,'count').average(t.size,'average')));transform.query(q=>{q.orderBy(({ e, t })=>e().descending(t.total));})console.log(recs.toString());console.log(transform.toString());transform.fetchCollection().subscribe((col)=>{console.log(col);});
Can you tell me how can I migrate the following code:
It seems the new
apply()
method version only accepts function or string.EDIT: Should I use
restore()
instead ofapply()
?Would be nice to have some kind of
Changelog
with the new release to see at least any breaking changes.Originally posted by @hakimio in #86 (comment)
The text was updated successfully, but these errors were encountered: