diesel-rs/diesel

"Identifier" column in table macro results in "Missing lifetime specifier"

Open

#1,651 opened on Apr 20, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (1,003 forks)batch import
documentationhelp wanted

Repository metrics

Stars
 (12,054 stars)
PR merge metrics
 (Avg merge 30d 16h) (30 merged PRs in 30d)

Description

I was able to fix this using #[sql_name=“...”] but the error is not clear about what's really going on, and I found sql_name by searching through tickets, not through official documentation.

This seems like the sort of thing someone could get stuck on.

It was Nullable type if relevant.

Contributor guide