rest - how can I use active Record queries with salesforce as the data-store? -


i connecting salesforce.com data-store , accessing rest api's.

currently, query, have use soql, query language.

how can use activerecord type 'where' queries instead?

you don't have use soql retrieve records via salesforce.com rest api, if retrieving id of record. this, can use following syntax:

/vxx.x/sobjects/sobjectname/id/

to retrieve records meet specific clause other id, don't believe there alternative soql @ point directly in rest api.

however, if using ruby, there ruby toolkit salesforce support using active record style syntax. open source project , can find out more here:

http://quintonwall.com/wp-content/uploads/2011/02/rubytoolkit-gettingstarted.pdf

here couple of examples above document:

active record example 1

active record example 2

there toolkits other languages, not sure of support active record style record access.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -