[Cubicweb] INSERT documentation

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Mar 26 16:46:00 CET 2014

On 26 mars 15:28, Dimitri Papadopoulos Orfanos wrote:
> Hi,
> I may be wrong but some details of INSERT and SET seem insufficiently
> documented. Here is what I have found so far:
> 	http://docs.cubicweb.org/annexes/rql/language#insertion-query
> I don't understand the role and the syntax of <assignments>:
> 	assignments: list of relations to assign in the form
> 	             V1 relationship V2 | <static value>
> What is a "static value"? Where do we specify the attributes of the new
> entity?

"literal" would be clearer, eg 'INSERT Tag X WHERE X name "tag", X int_value 5'

Sylvain Thénault, LOGILAB, Paris ( - Toulouse (
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list