[orientdb] Remove Server-Side functions

2017-08-09 Thread Xavier Rigal
Hi, I just created a function CREATE FUNCTION fixImage "return value.replace(new RegExp(\"src='/foo/\", 'g'), \"src='/images\");" PARAMETERS [value] LANGUAGE javascript; It works.. But how can i remove this function after? I try REMOVE FUNCTION fixImage DELETE FUNCTION fixImage DROP FUNCTION

Re: [orientdb] Remove Server-Side functions

2017-08-09 Thread Luigi Dell'Aquila
Hi Xavier, you can just do DELETE FROM OFunction WHERE name = ... Thanks Luigi 2017-08-09 11:03 GMT+02:00 Xavier Rigal : > Hi, > > I just created a function > > CREATE FUNCTION fixImage "return value.replace(new RegExp(\"src='/foo/\", > 'g'), \"src='/images\");" PARAMETERS [value] LANGUAGE ja

[orientdb] Invalidate/Disable Cache

2017-08-09 Thread YOAN HURET
Hi, I use version 2.2.19 and I want to disable *all* caches for some request (for testing purpose). I tried to use NOCACHE on SELECT clause with no success (first attempt take 15seconds and next ones less than 1 second): SELECT customerId as id, customerName as tradingName, cityName as city,