Skip to content

Get an Id<T> without going through toasty #147

@joeydewaal

Description

@joeydewaal

Currently there is no way create an Id<T> without going through toasty. By for example creating, updating or selecting the model.

E.g. if you have a user table with an id INT PRIMARY KEY field, it's not possible to do

User::get_by_id(&db, 1i32)

You have to get an Id<User> somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockerBlocking a toasty use case.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions