Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import { AwsMySQLClient } from "../../mysql";
import { InternalPooledConnectionProvider, PluginManager } from "../../index";
import { logger } from "../../common/logutils";

const mysqlHost = "db-identifier.XYZ.us-east-2.rds.amazonaws.com";
const username = "john_smith";
Expand Down Expand Up @@ -92,5 +91,5 @@ try {
// Clean up resources used by the plugins.
await PluginManager.releaseResources();

logger.debug("example complete");
console.log("example complete");
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

import { InternalPooledConnectionProvider, PluginManager } from "../../index";
import { logger } from "../../common/logutils";
import { AwsPgClient } from "../../pg";

const postgresHost = "db-identifier.XYZ.us-east-2.rds.amazonaws.com";
Expand Down Expand Up @@ -92,5 +91,5 @@ try {
// Clean up resources used by the plugins.
await PluginManager.releaseResources();

logger.debug("example complete");
console.log("example complete");
}
2 changes: 1 addition & 1 deletion examples/prisma_example/adapter/pgaws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import type {
TransactionOptions
} from "@prisma/driver-adapter-utils";
import { Error, ok, err } from "@prisma/driver-adapter-utils";
import { AwsPgClient } from "aws-advanced-nodejs-wrapper/dist/pg/lib/index.js";
import { AwsPgClient } from "aws-advanced-nodejs-wrapper/pg";
import { fieldToColumnType, UnsupportedNativeDataType } from "./conversion";

class AwsQueryable<ClientT extends AwsPgClient> implements Queryable {
Expand Down
2 changes: 1 addition & 1 deletion examples/prisma_example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "ISC",
"devDependencies": {
"@types/node": "^22.10.1",
"prisma": "^6.0.1",
"prisma": "6.0.1",
"tsx": "^4.19.2",
"typescript": "^5.6.2"
},
Expand Down