Skip to content

Primary Key with multiple columns? #408

Answered by ikrivosheev
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

It should be possible to do something like this

et index = Index::create()
    .name("idx-glyph-aspect")
    .table(Glyph::Table)
    .col(Glyph::Aspect)
    .col(Glyph::Ratio)
    .primary()
    .to_owned();

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by billy1624
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant