8000 [Feature Request] set pk column after columns creation · Issue #81 · kelindar/column · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Feature Request] set pk column after columns creation #81
Open
@kcmvp

Description

@kcmvp

when create columns with CreateColumnsOf as below, there is no way to set a PK field.

` obj := map[string]any{
"name": "Roman",
"age": 35,
"wallet": 50.99,
"health": 100,
"mana": 200,
}

col := NewCollection()
col.CreateColumnsOf(obj)`

if there is a new API such as
collection.setPK(colName string)
then we can set an existing column as PK. Of course, this api only available when the collection is emtpy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0