[ckan-dev] Querying dataset custom form fields (extras) ?

Dave Caraway dave at fogmine.com
Sun Sep 8 12:34:57 UTC 2013


Hi all,

I've added some custom form fields for dataset creation for an extension
that I'm developing. One of the fields is a Unique ID, so I have to ensure
that it doesn't already exist for any other datasets within an Organization.

I'm new to sqlalchemy, but when I looked at ckan.ckan.model.package.py, I
didn't see such a method.

Are there already any convenience methods that already exist for filtering
by organization and then by extra field value?

Thanks!
-Dave

-- 
Dave Caraway
Owner
Fog Mine
dave at fogmine.com
Cell: (937) 985-0867
Fax: (866) 238-3120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130908/6c2fbe36/attachment.html>


More information about the ckan-dev mailing list