-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3.11.0 🚀 is out with support for array analysis and better error mes…
…sages
- Loading branch information
Showing
16 changed files
with
511 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Auto-Generated by FAKE; do not edit | ||
namespace System | ||
open System.Reflection | ||
|
||
[<assembly: AssemblyTitleAttribute("NpgsqlFSharpAnalyzer.Core")>] | ||
[<assembly: AssemblyProductAttribute("NpgsqlFSharpAnalyzer")>] | ||
[<assembly: AssemblyVersionAttribute("3.11.0")>] | ||
[<assembly: AssemblyMetadataAttribute("ReleaseDate","2020-08-18T00:00:00.0000000")>] | ||
[<assembly: AssemblyFileVersionAttribute("3.11.0")>] | ||
[<assembly: AssemblyInformationalVersionAttribute("3.11.0")>] | ||
[<assembly: AssemblyMetadataAttribute("ReleaseChannel","release")>] | ||
[<assembly: AssemblyMetadataAttribute("GitHash","dbe65f09faf4b6ddf40d5e84320acd761f6b4d81")>] | ||
do () | ||
|
||
module internal AssemblyVersionInformation = | ||
let [<Literal>] AssemblyTitle = "NpgsqlFSharpAnalyzer.Core" | ||
let [<Literal>] AssemblyProduct = "NpgsqlFSharpAnalyzer" | ||
let [<Literal>] AssemblyVersion = "3.11.0" | ||
let [<Literal>] AssemblyMetadata_ReleaseDate = "2020-08-18T00:00:00.0000000" | ||
let [<Literal>] AssemblyFileVersion = "3.11.0" | ||
let [<Literal>] AssemblyInformationalVersion = "3.11.0" | ||
let [<Literal>] AssemblyMetadata_ReleaseChannel = "release" | ||
let [<Literal>] AssemblyMetadata_GitHash = "dbe65f09faf4b6ddf40d5e84320acd761f6b4d81" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,24 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
// Auto-Generated by FAKE; do not edit | ||
// <auto-generated/> | ||
using System.Reflection; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("FsLintVs")] | ||
[assembly: AssemblyDescription("F# Linter Extension for Visual Studio")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("asti")] | ||
[assembly: AssemblyProduct("FsLintVs")] | ||
[assembly: AssemblyCopyright("")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("0.2.0.0")] | ||
[assembly: AssemblyFileVersion("0.2.0.0")] | ||
[assembly: AssemblyTitle("NpgsqlFSharpVs")] | ||
[assembly: AssemblyProduct("NpgsqlFSharpAnalyzer")] | ||
[assembly: AssemblyVersion("3.11.0")] | ||
[assembly: AssemblyMetadata("ReleaseDate","2020-08-18T00:00:00.0000000")] | ||
[assembly: AssemblyFileVersion("3.11.0")] | ||
[assembly: AssemblyInformationalVersion("3.11.0")] | ||
[assembly: AssemblyMetadata("ReleaseChannel","release")] | ||
[assembly: AssemblyMetadata("GitHash","dbe65f09faf4b6ddf40d5e84320acd761f6b4d81")] | ||
namespace System { | ||
internal static class AssemblyVersionInformation { | ||
internal const System.String AssemblyTitle = "NpgsqlFSharpVs"; | ||
internal const System.String AssemblyProduct = "NpgsqlFSharpAnalyzer"; | ||
internal const System.String AssemblyVersion = "3.11.0"; | ||
internal const System.String AssemblyMetadata_ReleaseDate = "2020-08-18T00:00:00.0000000"; | ||
internal const System.String AssemblyFileVersion = "3.11.0"; | ||
internal const System.String AssemblyInformationalVersion = "3.11.0"; | ||
internal const System.String AssemblyMetadata_ReleaseChannel = "release"; | ||
internal const System.String AssemblyMetadata_GitHash = "dbe65f09faf4b6ddf40d5e84320acd761f6b4d81"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module ExecutingQueryInsteadOfNonQuery | ||
|
||
open Npgsql.FSharp | ||
|
||
let findRoles connection = | ||
connection | ||
|> Sql.query "INSERT INTO users (username, roles) VALUES (@username, @roles)" | ||
|> Sql.parameters [ "@username", Sql.string "Hello"; "@roles", Sql.stringArray [| |] ] | ||
|> Sql.execute (fun read -> read.stringArray "roles") |
Oops, something went wrong.