Currently, an optimized DB update (simple data => no delete-and-create-row) does the following: 1. sql UPDATE 2. sql SELECT This PR reduces this further to one single DB call for simple collections: 1. sql UPDATE with RETURNING() This only works for simple collections that do not have any fields that need to be fetched from other tables. If a collection has fields like relationship or blocks, we'll need that separate SELECT call to join in the other tables. In 4.0, we can remove all "complex" fields from the jobs collection and replace them with a JSON field to make use of this optimization --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1210803039809814
5 lines
168 B
TypeScript
5 lines
168 B
TypeScript
import { buildConfigWithDefaults } from '../buildConfigWithDefaults.js'
|
|
import { getConfig } from './getConfig.js'
|
|
|
|
export default buildConfigWithDefaults(getConfig())
|