Skip to content

Commit 2f18a09

Browse files
author
Jamil Maqdis Anton
committed
Merge fix.
1 parent 242385a commit 2f18a09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Postgres.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type PostgresConfig =
1111
schema: string option }
1212

1313
module Postgres =
14-
let private storeSettings (config: PostgresConfig): string =
14+
let private settingsStringFromConfig (config: PostgresConfig): string =
1515
sprintf
1616
"Host=%s;Port=%s;User Id=%s;Password=%s;Database=%s"
1717
config.host
@@ -40,7 +40,7 @@ module Postgres =
4040

4141
/// Connects to a postgres database given a Npgsql configuration string and an optional schema.
4242
/// If no schema is provided the tables will be created directly in the public one.
43-
let createStoreWithConfigString (config: string) (schema: string option): SqlStreamStore.PostgresStreamStore =
43+
let connectWithConfigString (config: string) (schema: string option): SqlStreamStore.PostgresStreamStore =
4444
let storeSettings =
4545
SqlStreamStore.PostgresStreamStoreSettings(config)
4646
|> setSchema schema

0 commit comments

Comments
 (0)