Rest Resouce Database: What is the dbConnection parameter?

Kyle Nakamoto's Avatar

Kyle Nakamoto

09 Dec, 2009 07:03 PM via web

I'm looking at the Rest call for a database resource. What is the dbConnection parameter supposed to contain? I was thinking it was the database connection name. However, I did not understand how this operation would know what ingestQuery to use so I was thinking it could be that.

  1. Support Staff 2 Posted by Chet Patel on 09 Dec, 2009 08:33 PM

    Chet Patel's Avatar

    The dbConnection parameter is the database connection name (i.e. bean definition in your saffron.xml). If you are using REST to ingest from an external database you can pass in the database name via the dbConnection parameter. The keyValue is the id of the database record you want to ingest.

Comments are currently closed for this discussion. You can start a new one.