Skip to content

Conversation

calummoore
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Jun 12, 2023

ENG-815 Enable multiple where queries for the same field

Currently index field gets overwritten, the following can be added once this is fixed.

### Starts with

Using the `>=` and `<` operators, you can filter records that start with a given prefix.

```js
import { Polybase } from "polybase/client"

const db = new Polybase({ defaultNamespace: "your-namespace" });
const collectionReference = db.collection("cities");


// Starts with UK
const startsWithUK = await collectionReference
  .where("country", ">=", "UK")
  .where("country", "<", "UK~")
  .get();
</p>
</details>

@calummoore calummoore merged commit 91b6461 into main Jun 13, 2023
@calummoore calummoore deleted the eng-815-enable-multiple-where-queries-for-the-same-field branch June 13, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant