join
Joins a list of fragments into one, working analogously to standard joinToString, but with parameter merging support.
Postfix and prefix are mainly applicable for org.octavius.data.builder.RawQueryBuilder. The preferred way to add clauses themselves is to use the appropriate builders.
Safely merges parameter maps, throwing an error in case of key conflicts.
Ignores empty fragments. If after filtering the list is empty, returns an empty QueryFragment (ignoring prefix and postfix to avoid generating e.g., an empty "WHERE ()").
Wraps each single fragment in parentheses to preserve operator precedence.
Return
New, joined QueryFragment.
Parameters
Character sequence separating fragments, e.g., " AND ".
Character sequence inserted at the beginning of the entire resulting string (e.g., "WHERE ").
Character sequence inserted at the end of the entire resulting string (e.g., ";").
Whether to add parentheses around fragments - default true