App-PhotoDB
view release on metacpan or search on metacpan
lib/App/PhotoDB/funcs.pm view on Meta::CPAN
'Lens',
'LensModel',
'ExposureTime',
'MaxApertureValue',
'FNumber',
'ApertureValue',
'FocalLength',
'ISO',
'Author',
'ImageDescription',
'DateTimeOriginal',
'ExposureProgram',
'MeteringMode',
'Flash',
'GPSLatitude',
'GPSLongitude',
'FocalLengthIn35mmFormat',
'LensSerialNumber',
'SerialNumber',
'LensMake',
'Copyright',
migrations/003-views.sql view on Meta::CPAN
`path` tinyint NOT NULL,
`MaxApertureValue` tinyint NOT NULL,
`directory` tinyint NOT NULL,
`filename` tinyint NOT NULL,
`ExposureTime` tinyint NOT NULL,
`FNumber` tinyint NOT NULL,
`ApertureValue` tinyint NOT NULL,
`FocalLength` tinyint NOT NULL,
`ISO` tinyint NOT NULL,
`ImageDescription` tinyint NOT NULL,
`DateTimeOriginal` tinyint NOT NULL,
`GPSLatitude` tinyint NOT NULL,
`GPSLongitude` tinyint NOT NULL,
`ExposureProgram` tinyint NOT NULL,
`MeteringMode` tinyint NOT NULL,
`Flash` tinyint NOT NULL,
`FocalLengthIn35mmFormat` tinyint NOT NULL,
`Copyright` tinyint NOT NULL,
`UserComment` tinyint NOT NULL
) ENGINE=MyISAM;
SET character_set_client = @saved_cs_client;
DROP TABLE IF EXISTS `exifdata`;
SET @saved_cs_client = @@character_set_client;
SET @saved_cs_results = @@character_set_results;
SET @saved_col_connection = @@collation_connection;
SET character_set_client = utf8;
SET character_set_results = utf8;
SET collation_connection = utf8_general_ci;
CREATE ALGORITHM=UNDEFINED
VIEW `exifdata` AS select `f`.`film_id` AS `film_id`,`n`.`negative_id` AS `negative_id`,`PRINT`.`print_id` AS `print_id`,`cm`.`manufacturer` AS `Make`,concat(`cm`.`manufacturer`,' ',`c`.`model`) AS `Model`,`p`.`name` AS `Author`,`lm`.`manufacturer` A...
SET character_set_client = @saved_cs_client;
SET character_set_results = @saved_cs_results;
SET collation_connection = @saved_col_connection;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `info_accessory` (
`Accessory ID` tinyint NOT NULL,
`Accessory type` tinyint NOT NULL,
`Model` tinyint NOT NULL,
`Acquired` tinyint NOT NULL,
migrations/005-photographer.sql view on Meta::CPAN
`n`.`shutter_speed` AS `ExposureTime`,
`n`.`aperture` AS `FNumber`,
`n`.`aperture` AS `ApertureValue`,
IF((`l`.`min_focal_length` = `l`.`max_focal_length`),
CONCAT(`l`.`min_focal_length`, '.0 mm'),
CONCAT(`n`.`focal_length`, '.0 mm')) AS `FocalLength`,
IF((`f`.`exposed_at` IS NOT NULL),
`f`.`exposed_at`,
`fs`.`iso`) AS `ISO`,
`n`.`description` AS `ImageDescription`,
DATE_FORMAT(`n`.`date`, '%Y:%m:%d %H:%i:%s') AS `DateTimeOriginal`,
IF((`n`.`latitude` >= 0),
CONCAT('+', FORMAT(`n`.`latitude`, 6)),
FORMAT(`n`.`latitude`, 6)) AS `GPSLatitude`,
IF((`n`.`longitude` >= 0),
CONCAT('+', FORMAT(`n`.`longitude`, 6)),
FORMAT(`n`.`longitude`, 6)) AS `GPSLongitude`,
IF((`ep`.`exposure_program` > 0),
`ep`.`exposure_program`,
NULL) AS `ExposureProgram`,
IF((`mm`.`metering_mode` > 0),
migrations/011-cameramodel-views.sql view on Meta::CPAN
`n`.`shutter_speed` AS `ExposureTime`,
`n`.`aperture` AS `FNumber`,
`n`.`aperture` AS `ApertureValue`,
IF((`l`.`min_focal_length` = `l`.`max_focal_length`),
CONCAT(`l`.`min_focal_length`, '.0 mm'),
CONCAT(`n`.`focal_length`, '.0 mm')) AS `FocalLength`,
IF((`f`.`exposed_at` IS NOT NULL),
`f`.`exposed_at`,
`fs`.`iso`) AS `ISO`,
`n`.`description` AS `ImageDescription`,
DATE_FORMAT(`n`.`date`, '%Y:%m:%d %H:%i:%s') AS `DateTimeOriginal`,
IF((`n`.`latitude` >= 0),
CONCAT('+', FORMAT(`n`.`latitude`, 6)),
FORMAT(`n`.`latitude`, 6)) AS `GPSLatitude`,
IF((`n`.`longitude` >= 0),
CONCAT('+', FORMAT(`n`.`longitude`, 6)),
FORMAT(`n`.`longitude`, 6)) AS `GPSLongitude`,
IF((`ep`.`exposure_program` > 0),
`ep`.`exposure_program`,
NULL) AS `ExposureProgram`,
IF((`mm`.`metering_mode` > 0),
migrations/026-lensmodel-views.sql view on Meta::CPAN
`n`.`shutter_speed` AS `ExposureTime`,
`n`.`aperture` AS `FNumber`,
`n`.`aperture` AS `ApertureValue`,
IF((`lmod`.`min_focal_length` = `lmod`.`max_focal_length`),
CONCAT(`lmod`.`min_focal_length`, '.0 mm'),
CONCAT(`n`.`focal_length`, '.0 mm')) AS `FocalLength`,
IF((`f`.`exposed_at` IS NOT NULL),
`f`.`exposed_at`,
`fs`.`iso`) AS `ISO`,
`n`.`description` AS `ImageDescription`,
DATE_FORMAT(`n`.`date`, '%Y:%m:%d %H:%i:%s') AS `DateTimeOriginal`,
IF((`n`.`latitude` >= 0),
CONCAT('+', FORMAT(`n`.`latitude`, 6)),
FORMAT(`n`.`latitude`, 6)) AS `GPSLatitude`,
IF((`n`.`longitude` >= 0),
CONCAT('+', FORMAT(`n`.`longitude`, 6)),
FORMAT(`n`.`longitude`, 6)) AS `GPSLongitude`,
IF((`ep`.`exposure_program` > 0),
`ep`.`exposure_program`,
NULL) AS `ExposureProgram`,
IF((`mm`.`metering_mode` > 0),
migrations/029-lensmodel-views.sql view on Meta::CPAN
`n`.`shutter_speed` AS `ExposureTime`,
`n`.`aperture` AS `FNumber`,
`n`.`aperture` AS `ApertureValue`,
IF((`lmod`.`min_focal_length` = `lmod`.`max_focal_length`),
CONCAT(`lmod`.`min_focal_length`, '.0 mm'),
CONCAT(`n`.`focal_length`, '.0 mm')) AS `FocalLength`,
IF((`f`.`exposed_at` IS NOT NULL),
`f`.`exposed_at`,
`fs`.`iso`) AS `ISO`,
`n`.`description` AS `ImageDescription`,
DATE_FORMAT(`n`.`date`, '%Y:%m:%d %H:%i:%s') AS `DateTimeOriginal`,
IF((`n`.`latitude` >= 0),
CONCAT('+', FORMAT(`n`.`latitude`, 6)),
FORMAT(`n`.`latitude`, 6)) AS `GPSLatitude`,
IF((`n`.`longitude` >= 0),
CONCAT('+', FORMAT(`n`.`longitude`, 6)),
FORMAT(`n`.`longitude`, 6)) AS `GPSLongitude`,
IF((`ep`.`exposure_program` > 0),
`ep`.`exposure_program`,
NULL) AS `ExposureProgram`,
IF((`mm`.`metering_mode` > 0),
( run in 0.370 second using v1.01-cache-2.11-cpan-496ff517765 )