Skip to content

Array support? #11

@waywardmonkeys

Description

@waywardmonkeys

I'm not sure what the best way to do this, but to work with arrays in Postgres, we need access to the connection object to call a method on it:

val sqlArray = connection.createArrayOf("uuid", products.toArray.asInstanceOf[Array[AnyRef]])

When products was an Iterable...

It'd be nice if this could be folded into prepare in Utils.scala somehow, but not sure how given the type name parameter...

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions