Skip to content

Instantly share code, notes, and snippets.

@danizen
Last active August 10, 2020 18:45
Show Gist options
  • Save danizen/b8efe5d5403268099090fea4b73f870a to your computer and use it in GitHub Desktop.
Save danizen/b8efe5d5403268099090fea4b73f870a to your computer and use it in GitHub Desktop.
---
secret: "/dbsecrets/pgadmin@cfom_db_int"
database_name: cfom_db_int
search:
prefix: |
SELECT "physicians"."PHYSICIANID",
"physicians"."FIRSTNAME",
"physicians"."MIDDLENAME",
"physicians"."LASTNAME",
"physicians"."MAIDENNAME",
"physicians"."YEAROFBIRTH",
"physicians"."YEAROFDEATH",
"physicians"."BIOGRAPHY",
"physicians"."ETHNICITY",
"physicians"."SHOWWEBSITE",
"physicians"."INSPIRATIONMASK"
FROM "physicians"
suffix: |
ORDER BY "physicians"."LASTNAME" ASC, "physicians"."FIRSTNAME" ASC, "physicians"."MIDDLENAME" ASC
filters:
location:
join: |
INNER JOIN "locations" ON ("physicians"."PHYSICIANID" = "locations"."PHYSICIANID")
field: "locations"."STATE"
detail:
prefix: |
SELECT "physicians"."PHYSICIANID",
"physicians"."FIRSTNAME",
"physicians"."MIDDLENAME",
"physicians"."LASTNAME",
"physicians"."MAIDENNAME",
"physicians"."YEAROFBIRTH",
"physicians"."YEAROFDEATH",
"physicians"."BIOGRAPHY",
"physicians"."ETHNICITY",
"physicians"."SHOWWEBSITE",
"physicians"."INSPIRATIONMASK"
FROM "physicians"
id: |
"physicians"."PHYSICIANID"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment