Data Model?

DavidF

Joined: 2006-02-27
Posts: 11
Posted: Mon, 2006-02-27 06:07

I would like to write a select query against the MySQL database for my Gallery2 instance. Is the db structure documented anywhere?

Essentially, I want to query out all image records (title, caption, albumname) where a custom field named 'custom2' is not null. The custom field is a 'common field'.

Any help would be appreciated.

Thanks,

David.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Mon, 2006-02-27 21:05

http://gallery.menalto.com/node/45178

locking

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.