Skip to content

Allow selecting just one column #23

@trevyn

Description

@trevyn
if let Some(rowid) = select!(Option<_turbonet_peers.rowid> "WHERE ip = " ip)? {

vs

if let Some(_turbonet_peers { rowid, .. }) = select!(Option<_turbonet_peers> "WHERE ip = " ip)? {

I think this is also why we have that detailed columntype info in the migrations.toml

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