cornucopia-rs / cornucopia

Generate type-checked Rust from your PostgreSQL.
Other
755 stars 31 forks source link

Very small issue in doc #222

Closed massimo79m closed 5 months ago

massimo79m commented 8 months ago

In "Query annotation" section

--! _authors_fromcountry SELECT id, name, age FROM Authors WHERE Authors.nationality = :country;

The --! token indicates a Cornucopia query annotation, and _selectauthors is the name of the query.

"authors_from_country" should be fixed with "select authors" in the query annotation.

Arthurdw commented 5 months ago

@massimo79m this issue has been resolved. (see ref above this)