Teddy Martin

Results 4 issues of Teddy Martin

In our usage of Papr, we often have code like the following: ``` const operations: BulkWriteOperation[] = []; if (someCondition) { operations.push(updateOne: { { filter: {}, update: {}} }); }...

Example queries in code, where PrivacyMode is an enum with property public, which evaluates to `"public"` Attempt 1 (single and double quotes) ``` import { sql } from '@databases/pg'; return...

Currently we use the mongodb type for `FindOneAndUpdateOptions` options for `findOneAndUpdate` (https://github.com/plexinc/papr/blob/main/src/model.ts#L818) However, a developer looking up the docs for these options will see `returnDocument` defaults to "before", while it...

Consider the following schema: ```typescript const mySchema = schema( { foo: Types.string(), bar: Types.string() }); const MyModel = papr.model('mymodels', mySchema); ``` Now consider some code that queries this model: ```typescript...

enhancement
help wanted