File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ type PostgresConfig =
11
11
schema: string option }
12
12
13
13
module Postgres =
14
- let private storeSettings ( config : PostgresConfig ): string =
14
+ let private settingsStringFromConfig ( config : PostgresConfig ): string =
15
15
sprintf
16
16
" Host=%s ;Port=%s ;User Id=%s ;Password=%s ;Database=%s "
17
17
config.host
@@ -40,7 +40,7 @@ module Postgres =
40
40
41
41
/// Connects to a postgres database given a Npgsql configuration string and an optional schema.
42
42
/// 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 =
44
44
let storeSettings =
45
45
SqlStreamStore.PostgresStreamStoreSettings( config)
46
46
|> setSchema schema
You can’t perform that action at this time.
0 commit comments