Skip to content

Using nested fields for indexes. #97

Closed
@timurkhametov

Description

@timurkhametov

Hi there. I see that PR #62 hasn't been merged yet. Do you know guys other workarounds to add indexes for nested fields?
Let's say I have approximately the following structure:

type MyStruct struct {
   ID int
   External ExternalDependency
   YetAnotherDependency []AnotherDependency 
}

type ExternalDependency struct {
   ExternalID string
}

type AnotherDependency struct {
  CustomID string
}

How to add indexes for ExternalID and CustomID?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions