rasqal_query_set_variable

Name

rasqal_query_set_variable --  Add a binding variable to the query

Synopsis

int rasqal_query_set_variable (rasqal_query* query, const unsigned char * name, rasqal_literal* value);

Arguments

query

rasqal_query query object

name

rasqal_variable variable

value

rasqal_literal value to set or NULL

Description

See also rasqal_query_add_variable which adds a new binding variable and must be called before this method is invoked.

Return value

non-0 on failure