From f5c68617f044fdbcbd446909895bfa4fc9bc2df8 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Mon, 16 Sep 2024 22:26:29 -0400 Subject: [PATCH] Bump version; tweak READMEs --- src/Directory.Build.props | 4 ++-- src/Postgres/README.md | 2 +- src/Sqlite/README.md | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 0c4f795..1a956d9 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -6,8 +6,8 @@ 4.0.0.0 4.0.0.0 4.0.0 - rc3 - From rc2: preserve additional ORDER BY qualifiers. From rc1: add case-insensitive ordering. From v3.1: Change ByField to ByFields; support dot-access to nested document fields; add Find*Ordered functions/methods; see project site for breaking changes and compatibility + rc4 + From rc3: Add In/InArray field comparisons, revamp internal comparison handling. From rc2: preserve additional ORDER BY qualifiers. From rc1: add case-insensitive ordering. From v3.1: Change ByField to ByFields; support dot-access to nested document fields; add Find*Ordered functions/methods; see project site for breaking changes and compatibility danieljsummers Bit Badger Solutions README.md diff --git a/src/Postgres/README.md b/src/Postgres/README.md index 25b493d..baa1161 100644 --- a/src/Postgres/README.md +++ b/src/Postgres/README.md @@ -66,7 +66,7 @@ var customer = await Find.ById("customer", "123"); // Find.byId type signature is string -> 'TKey -> Task<'TDoc option> let! customer = Find.byId "customer" "123" ``` -_(keys are treated as strings in the database)_ +_(keys are treated as strings or numbers depending on their defintion; however, they are indexed as strings)_ Count customers in Atlanta (using JSON containment): diff --git a/src/Sqlite/README.md b/src/Sqlite/README.md index 56546c0..6d069d3 100644 --- a/src/Sqlite/README.md +++ b/src/Sqlite/README.md @@ -73,13 +73,13 @@ Count customers in Atlanta: ```csharp // C#; parameters are table name, field, operator, and value // Count.ByField type signature is Func> -var customerCount = await Count.ByField("customer", Field.EQ("City", "Atlanta")); +var customerCount = await Count.ByField("customer", Field.Equal("City", "Atlanta")); ``` ```fsharp // F# // Count.byField type signature is string -> Field -> Task -let! customerCount = Count.byField "customer" (Field.EQ "City" "Atlanta") +let! customerCount = Count.byField "customer" (Field.Equal "City" "Atlanta") ``` Delete customers in Chicago: _(no offense, Second City; just an example...)_ @@ -87,13 +87,13 @@ Delete customers in Chicago: _(no offense, Second City; just an example...)_ ```csharp // C#; parameters are same as above, except return is void // Delete.ByField type signature is Func -await Delete.ByField("customer", Field.EQ("City", "Chicago")); +await Delete.ByField("customer", Field.Equal("City", "Chicago")); ``` ```fsharp // F# // Delete.byField type signature is string -> string -> Op -> obj -> Task -do! Delete.byField "customer" (Field.EQ "City" "Chicago") +do! Delete.byField "customer" (Field.Equal "City" "Chicago") ``` ## More Information