Skip to content

springnz/orientdb-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom SQL functions for OrientDB.

Currently one function is implemented:

  • dateTimePlusSeconds. Add seconds to a timestamp: dateTimePlusSeconds <datetime> <seconds>

Deployment

Installation on remote instance

Copy orientdb-functions-plugin-<version>.jar to <orientdb-install-dir>/plugins/.

On server startup you should see the following

2015-07-13 09:34:15:289 INFO  Installing dynamic plugin 'orientdb-functions-plugin-1.0.1.jar'... [OServerPluginManager]
2015-07-13 09:34:15:334 INFO  dateTimePlusSeconds function registered [OYlabsFunctionsPlugin]

Installation on embedded instance

  1. Add dependency to project: "springnz" % "orientdb-functions-plugin" % "1.0.1",
  2. Register functions with embedded server OSQLFunctions.registerPlugins(this)
  3. Use it. E.g., select dateTimePlusSeconds(date("2015-07-10 12:00:00"), 30)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages