Hi there, - I'm trying to neatly store a JavaScript function inside a .sql file. - I run the SQL file via `console.sh script.sql`
Challenge: It's one HUGE line and I'd like to break it into many lines, or store it in JavaScript: CREATE FUNCTION someFunction "var data = new com.orientechnologies.orient.server.network.protocol.ONetworkProtocolData(); var someLongVariable='blah'; etc(); return 'something';" PARAMETERS [param1,param2,param3] LANGUAGE JavaScript How can I make it easier to maintain in the file, like: var data = new com.orientechnologies.orient.server.network.protocol.ONetworkProtocolData(); var someLongVariable='blah'; etc(); return 'something'; -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
