Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Internal Map doesn't allow url params with the same keys #14

@prilaga

Description

@prilaga
  val postgrestClient = PostgrestDefaultClient(
                    uri = URI("https://......."),
                    headers = mapOf("piu" to "kjxhzfldjfglekjblcnakuefhlk")
                )

                return postgrestClient.from<Message>("table_name")
                    .select("*")
                    .ilike("key", "%hello%")
                    .gt("like", 1_000_000) // Greater than
                    .lt("like", 3_000_000) // Less than
                    .order("like", false)
                    .limit(10)
                    .execute()

"value", 1_000_000 - will never be added to the request, because internal map will rewrite it with "value", 3_000_000
Recommendation to use multi map and then build a request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions