librdf_query_set_limit

Name

librdf_query_set_limit --  Set the query-specified limit on results

Synopsis

int librdf_query_set_limit (librdf_query * query, int limit);

Arguments

query

librdf_query query object

limit

the limit on results, >=0 to set a limit, <0 to have no limit

Description

This is the limit given in the query on the number of results allowed.

Return value

non-0 on failure