1 row where type = "HKDataTypeSleepDurationGoal"

View and edit SQL

Suggested facets: created_at (date), updated_at (date), creation_date (date), start_date (date), end_date (date)

type

  • HKDataTypeSleepDurationGoal · 1
id ▼ created_at updated_at deleted_at type source_name source_version unit creation_date start_date end_date value device_id
364090 2021-03-04 17:19:50.0483+03:00 2021-03-04 17:19:50.0483+03:00   HKDataTypeSleepDurationGoal Health 14.2 hr 2020-12-04 00:34:19+03:00 2020-12-04 00:34:19+03:00 2020-12-04 00:34:19+03:00 8  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE `health_entries` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`type` text,`source_name` text,`source_version` text,`unit` text,`creation_date` datetime,`start_date` datetime,`end_date` datetime,`value` text,`device_id` integer,PRIMARY KEY (`id`),CONSTRAINT `fk_health_entries_device` FOREIGN KEY (`device_id`) REFERENCES `health_devices`(`id`));
CREATE UNIQUE INDEX `health_entries_key` ON `health_entries`(`type`,`creation_date`);
CREATE INDEX `idx_health_entries_deleted_at` ON `health_entries`(`deleted_at`);