Skip to content

[Discussion] Multiple index in the meta model #20

Description

@lmouline

Currently we can create a class with multiple index.
However, this is not really managed.

For example, with the following meta model:

class kmf.test.Personne {
    att name : String with index
    att firstName : String with index
    att birthMonth : String
}

If we create a person P1(Name1,FirstName1) and a person P2(Name1,FirstName2) and we use the find method with only a selector on the name, we just get one of the person (whereas I expect 2 persons).

So, as a next feature it could be possible to have an index on a "n-uplet".

Currently, @thomashartmann thinks that we should forbid multiple index in a class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions