Re: Addressing ISSUE-47 (invalid and relative IRIs)

>    [] rr:logicalTable [ rr:sqlQuery "SELECT *, 'asdf/' || id AS uri FROM
> table" ];
>       rr:subjectMap [ rr:column "uri" ].
>
>    [] rr:logicalTable [ rr:tableName "table" ];
>       rr:subjectMap [ rr:template "asdf/{id}" ].
>
> In the absence of NULLs (and ignoring the question of percent-encoding),
> both are equivalent. And the former silently suppresses NULLs because
> concatenating a string with NULL is NULL. So I'd expect the second to do the
> same. (Any expression involving NULL is NULL, except magic ones like IS NULL
> or COALESCE.)
>

I see, yes that makes sense. Thanks.
-David

Received on Monday, 11 July 2011 15:34:04 UTC