Skip to content

Support for RLIKE REGEX #3673

Open
Open
@lil5

Description

@lil5

What do you want to change?

Currently if I use the following script it doesn't add the correct function arguments

-- name: BlogListFilterByNameish
SELECT * FROM blog WHERE name RLIKE ?;

Returns:

func (q *Queries) BlogListFilterByNameish(ctx context.Context) ([]Blog, error) {
  ...
}

Expected to be:

func (q *Queries) BlogListFilterByNameish(ctx context.Context, name sql.NullString) ([]Blog, error) {
  ...
}

What database engines need to be changed?

MySQL

What programming language backends need to be changed?

Go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions