====== dbKeys() ====== The function ''dbKeys()'' lists all keys stored in the **Database for Contents**. If a //subKey// is specified, the function returns all keys beginning with this subkey (prefix) and are stored with the current interview language or with the base language of the survey project. More details and examples can be found in chapters [[:en:create:databank|Data Fragments in PHP code]] and ''[[:en:create:functions:dbset|dbSet()]]'' ''array **dbKeys**([string //subKey//])'' * //subKey// (optional)\\ * If a subkey is specified then only keys beginning with this subkey are listed. For example, if the subkey is '''A''', you will get "A001", "A002", "AA00", "Alpha", etc., but not "B001" or "100". * If no subkey is specified, ''dbKeys()'' returns all keys from the database for content.