Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow selecting just one column #23

Open
trevyn opened this issue Jan 16, 2022 · 0 comments
Open

Allow selecting just one column #23

trevyn opened this issue Jan 16, 2022 · 0 comments

Comments

@trevyn
Copy link
Owner

trevyn commented Jan 16, 2022

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

@trevyn trevyn closed this as completed in ffb99a0 Jun 5, 2022
@trevyn trevyn reopened this Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant