Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature request: partial index inside unique method #4870

@hanstf

Description

@hanstf

Environment

Knex version: 0.95.14
Database + version: postgres 12.5
OS: mac

Feature discussion / request

I saw that there is this feature request created #2525 but was closed. I have also checked that this PR #2401 add predicate options only for .index method. As postgres supports the unique partial index, is it possible to add the predicate inside the .unique method too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions