Created
February 8, 2020 14:25
-
-
Save asharirfan/21c5994a6ce30c919cb63f958d93a5f1 to your computer and use it in GitHub Desktop.
GUQ Featured Images Query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT file_managed.*, field_data_field_images.entity_id, field_data_field_images.field_images_alt, field_data_field_images.field_images_title, REPLACE(file_managed.uri, 'public://', 'https://www.qatar.georgetown.edu/sites/default/files/') AS url | |
FROM file_managed | |
JOIN field_data_field_images | |
ON file_managed.fid=field_data_field_images.field_images_fid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment