Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timestampArray and timestamptzArray to Sql reader #142

Open
Akash-Mair opened this issue Oct 18, 2023 · 0 comments
Open

Add timestampArray and timestamptzArray to Sql reader #142

Akash-Mair opened this issue Oct 18, 2023 · 0 comments

Comments

@Akash-Mair
Copy link

Currently working around this by using the Parameter case

type Sql

  with
  static member timestampArray (value: DateTime array) =
    let parameter = NpgsqlParameter()
    parameter.NpgsqlDbType <- (NpgsqlDbType.Array ||| NpgsqlDbType.Timestamp)
    parameter.Value <- value
    SqlValue.Parameter parameter
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

No branches or pull requests

1 participant