moigagoo / norm

A Nim ORM for SQLite and Postgres
https://norm.nim.town
MIT License
378 stars 34 forks source link

[Documentation Request] Add examples for using more fancy SQL such as `ORDER BY`, `LIMIT` etc. with `select` #193

Closed PhilippMDoerner closed 10 months ago

PhilippMDoerner commented 10 months ago

System64 - Flandre Scarlet over at the nim-discord raised a good point about the docs: There are no examples how to use the more fancy SQL elements that come after "WHERE" and we never make it clear you can use them with select.

That lead to them using rawSelect, which is not the intended usecase. We should add examples for those docs. HOWEVER, as the Rows Section is already pretty large, I'd like to split the Rows section up into 3 pages:

Do I have consensus for that from you @moigagoo? Just to elaborate on why I'm not just doing it: I just don't want to surprise you ;-) Simple response or thumbsup/down emoji would suffice.

moigagoo commented 10 months ago

Do I have consensus for that from you @moigagoo?

Sure, sounds reasonable. The only thing I'd change wording-wise is replace “Fancy” with “Advanced.”