Skip to content

Instantly share code, notes, and snippets.

@WimJongeneel
Last active January 2, 2020 08:21
Show Gist options
  • Save WimJongeneel/c314742d56476696a1abdd8c528b90e8 to your computer and use it in GitHub Desktop.
Save WimJongeneel/c314742d56476696a1abdd8c528b90e8 to your computer and use it in GitHub Desktop.
const handler = {
get(_, name: string) => new ExprBuilder(createIndexExpression(name))
}
fakeBlog.Id.equals(1)
/**
{
kind: '==',
left: {
kind: 'index',
id: 'Id'
},
right: {
kind: 'value',
value: 1
}
}
* /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment