I have the following code before the format:
- Code: Select all
qMedias.where
.add(qMedias.columns.tenant_name.eq(recTenant.tenant_name))
.add(qMedias.columns.path.eq(path))
.add(qMedias.columns.name.eq(docName))
.add(qMedias.or
.add(qMedias.columns.sha256.eq(sha256))
.add(qMedias.columns.sha256.isNull));
I would very much like it to stay that way as I feel it makes the code more readable but when I format the code I end up with the whole statement on one line.
- Code: Select all
qMedias.where.add(qMedias.columns.tenant_name.eq(recTenant.tenant_name)).add(qMedias.columns.path.eq(path)).add(qMedias.columns.name.eq(docName)).add(qMedias.or.add(qMedias.columns.sha256.eq(sha256)).add(qMedias.columns.sha256.isNull));
Are there any settings I can change that will allow the statement chaining to remain on separate lines?
TIA
Steve