Exclude properties from the result of a traversal.
::!{<SchemaFieldNames>}
N::User{ name: String, age: U32, email: String, posts: U32, followers: U32, following: U32, location: String, }
QUERY findUsers() => users <- N<User>::RANGE(0, 10) RETURN users::!{name, email, location}
name
email
location
"users": [ { "id": "c2ca233f-0cd8-4fae-8136-b40593792071", "age": 30, "posts": 14, "followers": 342, "following": 234, }, ... ]
Was this page helpful?