Skip to content

where clause on text with back slash \ requires 4 back slashes !! #136

@Marouanebouzoubaa

Description

@Marouanebouzoubaa

First, excellent work and keep up maintaining this project.

I encountered a weird problem where I have a text column with text like domain\abc
to make the where condition work, i had to encode the back slash twice like this !

where:"My_Field = 'domain\\\\abc'",

I am not sure if this is the default behavior or a bug, but i found on the documentation of the Add function the following:
note: A person must be provided as "-1;#email" (e.g. "-1;#foo@bar.com") OR NT login with double \ (eg "-1;#europe\\foo_bar") OR the user ID as a number

Is there a documentation that explains how the where works for different column types and wich operators can work with each column type. although the generated documentation is good enough, most of the time it is trial and error process. having also this documentation will make a better person.

Note: The editor for reporting the issue in github also shows two back slashes as one, so I had to double the number of slashes in the message to have the correct number shown.

Thx

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