Package dak :: Package dakdb :: Module update106
[hide private]
[frames] | no frames]

Module update106

source code

new views binary_component, source_component and package_list


Contact: Debian FTP Master <ftpmaster@debian.org>

Copyright: 2014, Ansgar Burchardt <ansgar@debian.org>

License: GNU General Public License version 2 or later

Functions [hide private]
 
do_update(self) source code
Variables [hide private]
  statements = [...

Imports: psycopg2, DBUpdateError, Config


Variables Details [hide private]

statements

Value:
["""
CREATE OR REPLACE VIEW source_component AS
SELECT
  s.id AS source_id,
  sa.suite AS suite_id,
  af.component_id AS component_id
FROM source s
JOIN src_associations sa ON s.id = sa.source
...