File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ type PostgresConfig =
1111 schema: string option }
1212
1313module 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
You can’t perform that action at this time.
0 commit comments