You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Guide/relationships.markdown
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,6 +288,56 @@ data LabeledData a b = LabeledData { labelValue :: a, contentValue :: b }
288
288
289
289
In the case above, `a` would be instantiated by (Id'"tags") and`b` by `Post`.
290
290
291
+
### Simple Joins and Outer Joins
292
+
An alternative approach to joining datainIHP can be accomplished by using the [postresql-simple (:.)](https://hackage.haskell.org/package/postgresql-simple-0.6.4/docs/Database-PostgreSQL-Simple-Types.html#t::.)
293
+
and a custom sql query.
294
+
295
+
For example say there is a `Student`, `StudentDeskCombo`, and `Desk` datatype derived by IHP from
0 commit comments