Search code examples
ravendbravendb-studio

RavenDb Studio - Document Custom Columns


Is there a way to bind child value of complex object as a column?

I mean like this:

class A(){
    public B AnotherType { get; set; }
}

class B(){
    public string ShowMe { get; set; }
}

I need to bind

AnotherType.ShowMe

as a column of A documents view.


Solution

  • In the studio, select choose columns:

    enter image description here

    And then add the binding using JS syntax, like so:

    enter image description here