web/data/cubicweb.goa.js
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 17 Feb 2015 12:42:42 +0100
changeset 10262 5c2a4a0a8dbd
parent 6215 759cf097f5aa
permissions -rw-r--r--
[entities] return the entity itself from notification_references if the view uses a random message-id Useful for entity update notifications to reference the entity creation message.

/**
 *  functions specific to cubicweb on google appengine
 *
 *  :organization: Logilab
 *  :copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

/**
 * .. function:: rql_for_eid(eid)
 *
 * overrides rql_for_eid function from htmlhelpers.hs
 */
function rql_for_eid(eid) {
        return 'Any X WHERE X eid "' + eid + '"';
}