From 98bc30d6189248063ced6e61731b482a6049ab8c Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Sun, 13 Sep 2020 14:01:44 +0300 Subject: [PATCH] doc: document ordering checks for column names --- doc/md/paging.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/md/paging.md b/doc/md/paging.md index 760841f10..5f20b9f35 100755 --- a/doc/md/paging.md +++ b/doc/md/paging.md @@ -28,7 +28,8 @@ users, err := client.User. ## Ordering -`Order` returns the entities sorted by the values of one or more fields. +`Order` returns the entities sorted by the values of one or more fields. Note that, an error +is returned if the given fields are not valid columns or foreign-keys. ```go users, err := client.User.Query().