Skip to content

WhereBuilder for CONTAINS predicate #2

@mguinness

Description

@mguinness

Firstly thanks for the great library, it's much simpler than using the native StringBuilder.

Do you think it's possible to adapt the library to help build the search condition for the CONTAINS predicate? For example:

WHERE CONTAINS(Description, '(Aluminum AND spindle) OR (Steel AND cutters)')

I see there is a constructor for WhereBuilder, although no default constructor.

public WhereBuilder(SelectBuilder selectBuilder, StringBuilder builder);

Can a WhereBuilder instance be used to create the example above, just using And, AndIf, Or, OrIf?

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions