-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
Words like "type" are keywords in Rust, but they are also common field names. Rust allows you to use a keyword as a field identifier if it begins with r#.
Tiberius currently treats the prefix as part of the field name, causing errors when using FromRow:
Error: Conversion("Could not find column with index r#type")
When r# is encountered at the beginning of an identifier name, it should be ignored so that db fields with Rust keywords as their names can be mapped onto structs correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels