Question: Is it possible to compare modified from the api call with the original data from db

Hi, I am currently evaluating dreamfactory for an enterprise product. I am wondering whether the server-side scripting is able to call the db for the original data to compare with the modified data that the user have posted for auditing purposes.

I understand that server-side scripting is able to write arbitrary javascript code, however I like to know whether there is any api to call the db resource and use the existing db credentials stored in dreamfactory.

The full platform API is available via scripting. Check out this page of the documentation regarding accessing the API via scripts.