diesel-rs/diesel

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

Open

#1,651 建立於 2018年4月20日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Rust (12,054 star) (1,003 fork)batch import
documentationhelp wanted

描述

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.

貢獻者指南

"Identifier" column in table macro results in "Missing lifetime specifier" · diesel-rs/diesel#1651 | Good First Issue