skunk icon indicating copy to clipboard operation
skunk copied to clipboard

Strategy docs wrong?

Open matthughes opened this issue 3 years ago • 0 comments

    /**
     * This strategy supports built-in Postgres types only, and does not need a database round-trip
     * for initialization. This is the fastest strategy and is appropriate when you are not using
     * any user-defined types (this includes enums).
     */
    case object BuiltinsOnly extends Strategy

    /**
     * This strategy supports built-in Postgres types, as well as types that are defined in
     * namespaces on the session search path. This is the default strategy.
     */
    case object SearchPath extends Strategy

SearchPath indicates it's the default strategy but Session.pooled defaults to BuiltinsOnly. Is this comment incorrect?

matthughes avatar May 03 '22 20:05 matthughes