List a Storage Layer's Records

14 views
Skip to first unread message

Cory Wiles

unread,
Jan 9, 2012, 9:10:26 AM1/9/12
to simp...@googlegroups.com
Is there not a method in the python lib that will allow a user to query a layer to get all the records associated with it? The only one I see you have to pass in a list of record_ids, but I don't know the ids. That is why I need to see all records.

Emile Petrone

unread,
Jan 9, 2012, 11:44:43 AM1/9/12
to simp...@googlegroups.com
Hi Cory,

The client.storage.get_record() or client.storage.get_records() methods should help. 


Let me know if you have any questions.

Emile

On Mon, Jan 9, 2012 at 6:10 AM, Cory Wiles <kwy...@gmail.com> wrote:
Is there not a method in the python lib that will allow a user to query a layer to get all the records associated with it? The only one I see you have to pass in a list of record_ids, but I don't know the ids. That is why I need to see all records.

--
SimpleGeo Developer Portal: http://developers.simplegeo.com
API Documentation: http://simplegeo.com/docs
Updates via Twitter: https://twitter.com/SimpleGeoAPI
Change your membership to this group: https://groups.google.com/forum/#!forum/simplegeo



--
Emile Petrone
Engineer
Urban Airship
@emilepetrone


Interested in becoming an Airshipper? 

Cory D. Wiles

unread,
Jan 9, 2012, 12:39:52 PM1/9/12
to simp...@googlegroups.com
Those methods take at least one id as second parameter.  There isn't anything, that I can see, that just lists all records in a layer.
Cory Wiles
kwy...@gmail.com
www.corywiles.com | www.twitter.com/kwylez

Cory Wiles

unread,
Jan 18, 2012, 8:00:33 AM1/18/12
to simp...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages