Colin McDonnell

Results 69 issues of Colin McDonnell

**Issue type:** [X] question [ ] bug report [ ] feature request [ ] documentation issue **Database system/driver:** [ ] `cordova` [ ] `mongodb` [ ] `mssql` [ ] `mysql`...

comp: query builder
performance

Would be nice to have the ability to catch conflicts on multiple several exclusive properties/expressions by chaining `unless conflict`. No idea if this is implementable. Schema: ``` type User {...

enhancement
edgeql
compiler

Schema modification ```diff type BlogPost { required property title -> str; - access policy anyone_can_read allow select using (true); + access policy anyone_can_read_2 allow select using (false); } ``` Creating...

A simple `group` statement implemented with the query builder may look like this: ```ts const group = e.group(e.Movie, movie => ({ ry: movie.release_year, })); ``` To customize the shape of...

bug
compiler

The proposals here are compatible with https://github.com/edgedb/edgedb-js/issues/347: "object filter syntax" ```ts e.select(e.Movie, ()=>({ // exclusive prop filter: { id: "abcd..." } // composite exclusive prop filter: { title: "Iron Man",...

Allow inserting multiple objects by accepting an array as second argument to `e.insert` ```ts e.insert(e.Movie, [ { title: 'Star Wars: A New Hope' }, { title: 'Star Wars: Empire Strikes...

enhancement

```ts const query = e .insert(e.Movie, { title: "Harry Potter", rating: 5, }) .unlessConflict(movie => ({ on: movie.title, else: e.update(movie, () => ({ set: { rating: e.op(movie.rating, "+", 1), },...

In addition to the current approach (reflecting EdgeQL and the EdgeDB typesystem into a query builder API), I propose a more GraphQL-like workflow. ### `*.edgeql` files Queries are written as...