Colin McDonnell

Results 106 issues of Colin McDonnell

Per a recent team call, I'm putting down some thoughts relating our plans to provide a better DX for users looking to generate the query builder and apply migrations in...

enhancement

Currently, we only provide a single `bin` script: `edgeql-js`. However there are a few reasons we need to rethink this. - We're adding another command to run migrations: https://github.com/edgedb/edgedb-js/issues/340 -...

Proposed query builder API for group: In EdgeQL: ``` group Movie using cast_size := count(.actors), first_letter := movie.title[0] by .release_year; ``` Query builder: ```ts // group Movie e.group(e.Movie, movie =>...

Proposed API: expose a top-level `e.global` object containing references. This `global` object would be created in every module that includes 1+ globals. ```ts e.global.user_id; e.my_module.global.foo; ``` More succinct and better...

Context: https://discord.com/channels/841451783728529451/849374705210490900/972227851040485460 ```ts await e .insert(e.PricingEvent, { asset: selectById(e.Asset, asset.id), created: new Date(), ...fieldsToSet, }) .unlessConflict((dbPricingEvent) => ({ on: e.tuple([ dbPricingEvent.fundingRound, dbPricingEvent.valuationType, ]), else: e.update(e.PricingEvent, () => ({ set: {...

```ts e.insert(e.User, { name: "Colin", posts: [{ title: "My blog post" }] }) ```

Per https://discord.com/channels/841451783728529451/849374935209607199/943568048504328242

https://github.com/porsager/postgres

[Mikroorm](https://mikro-orm.io/)

**Required Functionality** Looks like the paragraph and sentence generation from `fake-rs` isn't yet exposed as a generator. We rely on this for some [benchmarks](https://github.com/edgedb/webapp-bench) we maintain. Would love to see...