Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F995856
query_not.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
434 B
Referenced Files
None
Subscribers
None
query_not.js
View Options
const
Query
=
require
(
"./query.js"
);
const
QueryStep
=
require
(
"./query-step.js"
);
module
.
exports
=
class
extends
Query
{
constructor
(
query
)
{
super
();
this
.
addQuery
(
query
);
}
addQuery
(
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/plain
Expires
Mon, Dec 23, 22:20 (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556981
Default Alt Text
query_not.js (434 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment