Skip to content

PiccoloCRUD post_single return id of the inserted row instead of the row #255

@JoshYuJump

Description

@JoshYuJump

When I create a new item:

POST /items
{
    "name": "testing"
}

It response the id of the inserted row, in array format

[{"id": 1}]

How to get response of the row

{
    "id": 1,
    "name": "testing"
}

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