Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996291
query-not.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
397 B
Referenced Files
None
Subscribers
None
query-not.ts
View Options
import
Query
from
"./query"
;
export
default
class
Not
extends
Query
{
constructor
(
query
:
Query
)
{
super
();
this
.
addQuery
(
query
);
}
addQuery
(
query
:
Query
)
{
const
steps
=
query
.
dump
();
this
.
steps
.
push
(...
steps
);
}
dump
()
{
return
this
.
steps
.
map
((
step
)
=>
step
.
negate
());
}
toPipeline
()
{
return
this
.
steps
.
reduce
(
(
acc
,
step
)
=>
step
.
negate
().
pushStage
(
acc
),
[]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Dec 24, 14:02 (17 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557158
Default Alt Text
query-not.ts (397 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment