You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: infer that primary keys can't be optional
Reproduction steps
using sqite driver given a sample table:
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY,
);
the following code: let row = query!("SELECT id FROM users") infers the type of the inner Record (after stripping away errors, etc.) as row.id being Option<i64>