Skip to content

Conversation

@danielfrankcom
Copy link
Contributor

@danielfrankcom danielfrankcom commented Dec 19, 2025

This PR improves the Sequelize README.md file based on the results of experimenting with the postgres dialect.

The intent is to provide some more targeted guidance for specific issues users might encounter. The information from the original doc is retained, but reorganized in a few places to provide extra explanations and code snippets.

I also removed the database property from the example since it was specifying the default, which we should leave to our connector to configure for simplicity. I noticed this when reworking the connection section in the README.md. Nevermind this doesn't work, I guess I had a local PGDATABASE set while testing.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT-0 license.

danielfrankcom added a commit to awslabs/aurora-dsql-nodejs-connector that referenced this pull request Dec 20, 2025
This PR adds a filter step for user configuration to strip out `null`
and `undefined` values. This prevents these values from overriding
default configuration.

This is similar to #130 which applied to the `connectionString` config.

This was found in the context of
aws-samples/aurora-dsql-samples#220, as the
Sequelize driver currently requires explicit `database` configuration.
From what I can tell, this is because the underlying driver configures
the values as `undefined` if they are not specified. When this connector
change is applied, Sequelize can correctly use the DSQL defaults.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
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