Skip to content

% wildcard counting in column length #37

@gssj85

Description

@gssj85

I'm using Laravel 9 and I have a query that does a where like to a column varchar(14).

When the like has the full length of the column I get a error saying it expected 14 and got 16 characters.

Example: where document like '%12345678901234%'

When I do the same query in the console it works, but when the Laravel does it doesn't.

Is this behavior normal? I'm kinda new to Firebird...

Giving a bit more context:

Screenshot from 2023-06-08 17-40-05
Screenshot from 2023-06-08 17-39-47
Screenshot from 2023-06-08 17-40-24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions