odata-v4-sql icon indicating copy to clipboard operation
odata-v4-sql copied to clipboard

filter not generated properly

Open AxelUlmestig opened this issue 6 years ago • 2 comments

const { createFilter } = require('odata-v4-sql');
const filter = createFilter('Id eq 42');
console.log(filter.where) // == '[Id] = ?';

Shouldn't this result in something like '[Id] = 42'? Or am I missing something here?

AxelUlmestig avatar Jun 04 '18 09:06 AxelUlmestig