Hey! According to the docs this should work: ```va...
# supabase-kt
n
Hey! According to the docs this should work:
Copy code
val columns = Columns.raw("""
    id,
    name,
    cities (
      id,
      name
    )
""".trimIndent())
val country = supabase.from("countries")
  .select(
    columns = columns
  )
  .decodeSingle<Country>()
but I have some errors because the parse complains about the included “\n” so I have to add
Copy code
.replace("\n", "")
to the raw string to make it work. Is this a bug or am I doing something wrong?
j
Looks like a bug, those newlines should be removed automatically. Can you create an issue?
n
Sure thing