From 9bda3ff4cde1a7bb9f775536212e936759ee665b Mon Sep 17 00:00:00 2001 From: Thad Guidry Date: Sun, 7 Jan 2024 07:05:59 +0800 Subject: [PATCH] Update README.md Add note about `:` colon separator for Column Alias --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ad89b261..0c47ed27 100644 --- a/README.md +++ b/README.md @@ -265,7 +265,7 @@ http GET 'http://localhost:8080/actor?select=actor_id,first_name,last_name&filte **4. Get all Actors with Column Alias** -This will retrieve all the rows and columns from the database. Avoid if the table has large number of rows, use pagination instead. +Use the colon separator `:` to map a column to an alias. This will retrieve all the rows and columns from the database. Avoid if the table has large number of rows, use pagination instead. This query shows how to change column name in the response JSON using Alias. **cURL**