If you (and maybe others) are interested we could give a webinar about RESTXQ 
and the nuts and bolts of it.

Cheers,
        Alex

> On 21. May 2018, at 16:48, Christian Grün <[email protected]> wrote:
> 
> Hi France,
> 
> RESTXQ is certainly what will cover all your requirements. Did you have a 
> look at it? The DBA code, which is distributed along with BaseX, could be 
> helpful to understand better what can be done with this API.
> 
> Hope this helps,
> Christian
> 
> 
> 
> France Baril <[email protected]> schrieb am Mo., 21. Mai 2018, 
> 16:40:
> Hi, 
> 
> In one of my projects, we are trying to refactor our code so it uses a 
> node.js client. We have extensive functions that do more than just get data 
> in our .xqm. They were implemented around the http server and our web 
> application was calling the REST functions we implemented using jquery AJAX 
> request. All the examples we looked at in the documentation that don't use 
> the http server pass entire queries as a string to the server. 
> 
> We were wondering if we can call functions from our .xqm modules directly 
> (ex. namespace:do-this(param0, param1)) or if any request that uses functions 
> from our .xqm files need to pass through the rest API. 
> 
> If we can call our .xqm functions more directly, could you point us to an 
> example to help us understand how it would work? 
> 
> Thanks!
> 
> -- 
> France Baril
> Architecte documentaire / Documentation architect
> [email protected]

Reply via email to