Skip to content

Commit

Permalink
Have _Etag only appear on Element if we're in Gremlinq.Extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Aug 16, 2024
1 parent bf886b3 commit 58bff48
Show file tree
Hide file tree
Showing 222 changed files with 419 additions and 1,560 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.E(0).hasLabel('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('From','2020-04-07T14:43:36.0000000+00:00').property('Role','Admin').property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.E(0).hasLabel('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('From','2020-04-07T14:43:36.0000000+00:00').property('Role','Admin').property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.E(0).hasLabel('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('From','2020-04-07T14:43:36.0000000+00:00').property('Role','Admin').property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.E(0).hasLabel('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('From','2020-04-07T14:43:36.0000000+00:00').property('Role','Admin').property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V(0).hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
g.V(0).hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V(0).hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
g.V(0).hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.E().hasLabel('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.E().hasLabel('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.E().hasLabel('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.E().hasLabel('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.E().hasLabel('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.E().hasLabel('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(list,'PhoneNumbers','012345').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(list,'PhoneNumbers','012345').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.properties().group().by(label).by(__.project('id','label','value','properties').by(id).by(label).by(value).by(__.valueMap()).fold()))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').outE('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('From','2020-04-07T14:43:36.0000000+00:00').property('Role','Admin').property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Age',21).property(single,'Gender',Male).property(single,'Name','Marko').property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').outE('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('From','2020-04-07T14:43:36.0000000+00:00').property('Role','Admin').property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
@@ -1 +1 @@
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty','_Etag').drop()).property(single,'Gender',Male).property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').outE('WorksFor').sideEffect(__.properties('PartitionKey','_Etag').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
g.V().hasLabel('Person').sideEffect(__.properties('Image','PhoneNumbers','SomeObscureProperty').drop()).property(single,'Gender',Male).property(single,'PartitionKey','PartitionKey').property(single,'RegistrationDate','2020-04-07T14:43:36.0000000+00:00').outE('WorksFor').sideEffect(__.properties('PartitionKey').drop()).property('To','2020-04-07T14:43:36.0000000+00:00').project('id','label','properties').by(id).by(label).by(__.valueMap())
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down Expand Up @@ -99,8 +98,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down Expand Up @@ -77,8 +76,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down Expand Up @@ -99,8 +98,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
Arguments: [
Image,
PhoneNumbers,
SomeObscureProperty,
_Etag
SomeObscureProperty
]
},
{
Expand Down Expand Up @@ -77,8 +76,7 @@
{
OperatorName: properties,
Arguments: [
PartitionKey,
_Etag
PartitionKey
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!application/vnd.gremlin-v2.0+json{"requestId":"12345678-9012-3456-7890-123456789012","op":"bytecode","processor":"traversal","args":{"gremlin":{"@type":"g:Bytecode","@value":{"step":[["E",{"@type":"g:Int32","@value":0}],["hasLabel","WorksFor"],["sideEffect",{"@type":"g:Bytecode","@value":{"step":[["properties","PartitionKey","_Etag"],["drop"]]}}],["property","From",{"@type":"g:Date","@value":1586270616000}],["property","Role","Admin"],["property","To",{"@type":"g:Date","@value":1586270616000}],["project","id","label","properties"],["by",{"@type":"g:T","@value":"id"}],["by",{"@type":"g:T","@value":"label"}],["by",{"@type":"g:Bytecode","@value":{"step":[["valueMap"]]}}]]}},"aliases":{"g":"g"}}}
!application/vnd.gremlin-v2.0+json{"requestId":"12345678-9012-3456-7890-123456789012","op":"bytecode","processor":"traversal","args":{"gremlin":{"@type":"g:Bytecode","@value":{"step":[["E",{"@type":"g:Int32","@value":0}],["hasLabel","WorksFor"],["sideEffect",{"@type":"g:Bytecode","@value":{"step":[["properties","PartitionKey"],["drop"]]}}],["property","From",{"@type":"g:Date","@value":1586270616000}],["property","Role","Admin"],["property","To",{"@type":"g:Date","@value":1586270616000}],["project","id","label","properties"],["by",{"@type":"g:T","@value":"id"}],["by",{"@type":"g:T","@value":"label"}],["by",{"@type":"g:Bytecode","@value":{"step":[["valueMap"]]}}]]}},"aliases":{"g":"g"}}}
Loading

0 comments on commit 58bff48

Please sign in to comment.