Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for tolerance when using lookup-matches #470

Closed
Seddryck opened this issue Apr 13, 2019 · 1 comment
Closed

Add support for tolerance when using lookup-matches #470

Seddryck opened this issue Apr 13, 2019 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Apr 13, 2019

It should be possible to define a tolerance when defining a lookup-matches. Same tolerances than for equal-to should be supported.

The following-code is expected:

<lookup-matches>
   <join>
      <mapping candidate="DepartmentID" reference="Id" type="numeric"/>
   </join>
   <inclusion>
      <mapping 
         candidate="DepartmentName" 
         reference="LowerName" type="text" 
         tolerance="ignore-case"
      />
   </inclusion>
   <result-set>
      <query>
         select [DepartmentID] as Id, 
         Lower([Name]) as LowerName 
         from [HumanResources].[Department]
      </query>
   </result-set>
</lookup-matches>
@Seddryck
Copy link
Owner Author

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/23952102/artifacts in 1.21.0-beta.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant