From cb8dd4ec321f9120ed3d170ac51c9634452b1973 Mon Sep 17 00:00:00 2001 From: Ben Motz Date: Mon, 13 Nov 2023 17:13:38 +0000 Subject: [PATCH] Fix andFallbackTrue docstring --- modules/core/src/main/scala/doobie/util/fragments.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/scala/doobie/util/fragments.scala b/modules/core/src/main/scala/doobie/util/fragments.scala index 5177cb50a..fb6e55fc9 100644 --- a/modules/core/src/main/scala/doobie/util/fragments.scala +++ b/modules/core/src/main/scala/doobie/util/fragments.scala @@ -66,7 +66,7 @@ object fragments { NonEmptyList.fromFoldable(fs).map(nel => and(nel, withParen)) } - /** Similar to andOpt, but defaults to FALSE if passed an empty collection */ + /** Similar to andOpt, but defaults to TRUE if passed an empty collection */ def andFallbackTrue[F[_] : Foldable](fs: F[Fragment]): Fragment = { andOpt(fs).getOrElse(fr"TRUE") }