Skip to content

Adopt PostgreSQL conventions for cast functions #7

@einhverfr

Description

@einhverfr

By convention the casting function's name in SQL terms is the same as the data type returned. So we would have:

  • md5hash(text)
  • md5hash(bytes)

both returning md5hash types. For backwards compatibility would add these in addition to existing functions.

The reason is it makes it easier to remember the names of the functions when calling the functions in this way.

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