You can translate the question and the replies:

Rest Api - No of Records

hi all, I am using denodo vdp to create rest api. After executing I get the data but I am unable to get total number of records along with the output of data. adding $count give just total number of records, while i want both data and total number of records at last. anyways to get it?
11-01-2024 20:08:49 -0500

1 Answer

Hi, As you mentioned, `$count` can be used to obtain the number of records, but there is no option to get the data along with the number of records in a single request to the REST API. For more information on use of the `$count` segment, refer to [Obtaining the Number of Rows of a Result Set]( in the User Manuals. If you need the data and number of records in a single request to the rest API, you could add a field to the view with the number of rows, as suggested in this similar community question: Hope this helps!
Denodo Team
18-01-2024 19:52:47 -0500
You must sign in to add an answer. If you do not have an account, you can register here