()
| 45 | Object.keys(sb.orderBy).length ? `ORDER BY ${join(sb.orderBy, ', ')}` : ''; |
| 46 | const getLimit = () => (sb.limit ? `LIMIT ${sb.limit}` : ''); |
| 47 | const getOffset = () => (sb.offset ? `OFFSET ${sb.offset}` : ''); |
| 48 | const getJoins = () => |
| 49 | Object.keys(sb.joins).length ? join(sb.joins, ' ') : ''; |
| 50 | const getFill = () => (sb.fill ? `WITH FILL ${sb.fill}` : ''); |