Skip to content

RecollectionResponse

Dmitry Kochin edited this page Jul 19, 2018 · 2 revisions

RecollectionResponse contains a set of entries that satisfy filters in RecollectionRequest. Each entry contains a list of requested fields as well as computed fields (the functions on field values).

An example of RecollectionResponse to the following TiQL request:

    SELECT
        Id,
        CAST(fDuration as duration),
        CAST(writeTime(/*fsdf*/fTime) as date)::time as wtime,
        CAST(writeTime(fTime) AS date),
        fLong,
        bigIntAsBlob(toUnixTimestamp(CAST(writeTime(fTime) AS date))) AS WriteTime, 
        intAsBlob(0x309) AS TestValue 
    FROM "client-dev.test"."all_types"
    WHERE
        Id IN (86ee31df-b166-4ceb-97b6-375ee76cffc3)

This request produces the following response:

<!-- TBD -->

Clone this wiki locally