Created
October 16, 2016 21:11
-
-
Save jgoldhammer/e9aa16554e8cfe644d2fa9f85d63fbb3 to your computer and use it in GitHub Desktop.
How to use the database root object in alfresco to run queries against the database of alfresco. It allows to run queries and updates.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
database.query("dataSource", "Select * from alf_node where id=?",2); | |
database.update("dataSource", "Update alf_node set id=? where id=?",2,2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment