From a19aa0cfc76234c9344c4ebcb818cde7afe02d59 Mon Sep 17 00:00:00 2001 From: maikebing Date: Fri, 6 Nov 2026 13:51:55 +0800 Subject: [PATCH 1/4] feat(etl): add opt-in page queries and exact XML names --- ChangeLog.md | 5 + Doc/ProviderExtensionContracts.md | 9 + HANDOFF.md | 9 + XCode/DataAccessLayer/Common/IDatabase.cs | 3 + XCode/DataAccessLayer/DbPackage.cs | 24 +++ XCode/DataAccessLayer/Model/ModelHelper.cs | 19 +- XCode/Transform/IdExtracter.cs | 5 +- XCode/Transform/PagingExtracter.cs | 5 +- XCode/Transform/TimeExtracter.cs | 7 +- .../DataAccessLayer/PackageExtensionTests.cs | 184 ++++++++++++++++++ 10 files changed, 261 insertions(+), 9 deletions(-) create mode 100644 Doc/ProviderExtensionContracts.md create mode 100644 HANDOFF.md create mode 100644 XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs diff --git a/ChangeLog.md b/ChangeLog.md index e89e17ca3..806096378 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,10 @@ # NewLife.XCode 更新日志 +## [Unreleased] + +### Added +- 为同步内置抽取器增加可选逐页查询回调,保留默认查询和外部抽取器合同;增加 `NameFormats.Exact` 与兼容 XML 重载,显式保留物理名称大小写。 + ## v12.3.2026.1024 (2026-10-24) ### SonnetDB 数据库支持 diff --git a/Doc/ProviderExtensionContracts.md b/Doc/ProviderExtensionContracts.md new file mode 100644 index 000000000..6570c040d --- /dev/null +++ b/Doc/ProviderExtensionContracts.md @@ -0,0 +1,9 @@ +# Optional migration and exact XML contracts + +The default `DbTable` conversion may map numeric SQL NULL to a CLR default value. An ETL consumer that needs SQL NULL must be able to supply its own page reader while retaining the ID/time/offset algorithms. Set `DbPackage.QueryCallback` to read a page using the provided source, builder, offset, limit and cancellation token. The option affects `Sync` only, never ordinary DAL queries. Callers own reader disposal, SQL parameter binding, page bounds and timeout. User-supplied extractor factories and derived extractors continue to own their query path. + +`PackageExtensionTests` reproduces a SQLite NULL becoming zero with the default path, and verifies an opt-in reader preserves it for each built-in algorithm. It also checks custom-source ownership and the unchanged default. + +For a model with `Name="MixedName"` and `TableName="mixedname"`, the existing compact XML can omit the physical spelling even with `NameFormats.None`. Use `table.WriteXml(writer, NameFormats.Exact)` or set `EntityBuilderOption.NameFormat` to `Exact` when exporting a complete model. This keeps case-only physical mappings, without changing existing XML defaults or enum numeric values. The five-argument `ModelHelper.WriteXml` overload exposes the same opt-in for individual model members; the original four-argument method remains available for binary callers. + +These extensions have no database-specific behavior. Provider overrides for ordinary session reads stay downstream; a separate Provider PR can depend on this architecture PR. Acceptance and release decisions remain with the maintainers. diff --git a/HANDOFF.md b/HANDOFF.md new file mode 100644 index 000000000..aaf17c636 --- /dev/null +++ b/HANDOFF.md @@ -0,0 +1,9 @@ +# Provider extension contracts — 2026-11-06 + +This branch starts at upstream `512d8a434`. It responds to the architecture review in NewLifeX/NewLife.XCode#103; that closed PR remains unchanged. + +- Generic, opt-in `DbPackage.QueryCallback` configures only exact built-in extractors. Custom extractor callbacks and derived extractors retain their source and `Fetch`. A missing callback preserves the original DAL query path. +- `NameFormats.Exact` and an additive `ModelHelper.WriteXml` overload retain case-only physical name mappings. Existing enum values, method signatures and default XML behavior are preserved. +- No database type checks, DbSession/DAL changes, provider dependency changes or publication belong in this architecture PR. +- SQLite-only regressions provide the minimal NULL migration and XML spelling reproductions. Validation and final commit identity are recorded in the PR; downstream Provider work depends on this branch being accepted and published with the provider. +- Validation: 10/10 SQLite/XML regressions, no failures/skips; all six XCode targets build with 859 existing-repository warnings and 0 errors; English runtime-message check passes. The upstream source has mixed LF/CRLF despite the global editorconfig: preserve original per-file bytes and use `git -c core.whitespace=cr-at-eol diff --check`, rather than mixing an EOL rewrite into the architecture change. A formatter probe and the initial zero-test discovery are retained in external validation evidence and are not test PASS claims. diff --git a/XCode/DataAccessLayer/Common/IDatabase.cs b/XCode/DataAccessLayer/Common/IDatabase.cs index 31df876b9..e25f4f5c3 100644 --- a/XCode/DataAccessLayer/Common/IDatabase.cs +++ b/XCode/DataAccessLayer/Common/IDatabase.cs @@ -35,6 +35,9 @@ public enum NameFormats /// 下划线 Underline, + + /// 保持原样,XML模型同时保留物理名称的精确大小写 + Exact, } /// 批量操作能力。Flags枚举,不同数据库支持不同批量操作 diff --git a/XCode/DataAccessLayer/DbPackage.cs b/XCode/DataAccessLayer/DbPackage.cs index b35ad820d..526a6d21b 100644 --- a/XCode/DataAccessLayer/DbPackage.cs +++ b/XCode/DataAccessLayer/DbPackage.cs @@ -41,6 +41,9 @@ public class DbPackage /// 数据抽取器的创建回调,支持外部自定义 public Func>? CreateExtracterCallback { get; set; } + /// 同步时内置抽取器的可选查询回调。参数为实际来源、查询、起始行、最大行数及本次取消令牌;自定义抽取器不受影响 + public Func? QueryCallback { get; set; } + /// 写文件Actor的创建回调,支持外部自定义 public Func? WriteFileCallback { get; set; } @@ -569,6 +572,27 @@ public virtual Int32 Sync(IDataTable table, String connName, Boolean syncSchema writeDb.Start(cancellationToken); var extracer = CreateExtracterCallback?.Invoke(table) ?? GetExtracter(table); + var query = QueryCallback; + if (query != null && (CreateExtracterCallback == null || CreateExtracterCallback == GetExtracter)) + { + DbTable QueryPage(DAL source, SelectBuilder builder, Int64 row, Int64 size) + { + cancellationToken.ThrowIfCancellationRequested(); + return query(source, builder, row, size, cancellationToken); + } + switch (extracer) + { + case IdExtracter id when id.GetType() == typeof(IdExtracter): + id.QueryPage = (builder, row, size) => QueryPage(id.Dal, builder, row, size); + break; + case TimeExtracter time when time.GetType() == typeof(TimeExtracter): + time.QueryPage = (builder, row, size) => QueryPage(time.Dal, builder, row, size); + break; + case PagingExtracter paging when paging.GetType() == typeof(PagingExtracter): + paging.QueryPage = (builder, row, size) => QueryPage(paging.Dal, builder, row, size); + break; + } + } // 临时关闭日志 var old = Dal.Db.ShowSQL; diff --git a/XCode/DataAccessLayer/Model/ModelHelper.cs b/XCode/DataAccessLayer/Model/ModelHelper.cs index a9a1bfacf..3276d648f 100644 --- a/XCode/DataAccessLayer/Model/ModelHelper.cs +++ b/XCode/DataAccessLayer/Model/ModelHelper.cs @@ -502,7 +502,7 @@ public static IDataTable WriteXml(this IDataTable table, XmlWriter writer, NameF { var ignoreNameCase = nameFormat <= NameFormats.Default; - WriteXml(writer, table, false, ignoreNameCase); + WriteXml(writer, table, false, ignoreNameCase, nameFormat == NameFormats.Exact); // 写字段 if (table.Columns.Count > 0) @@ -511,7 +511,7 @@ public static IDataTable WriteXml(this IDataTable table, XmlWriter writer, NameF foreach (var dc in table.Columns) { writer.WriteStartElement("Column"); - WriteXml(writer, dc, false, ignoreNameCase); + WriteXml(writer, dc, false, ignoreNameCase, nameFormat == NameFormats.Exact); writer.WriteEndElement(); } writer.WriteEndElement(); @@ -652,7 +652,16 @@ public static void ReadXmlAttribute(XmlReader reader, Object value) /// 数值 /// 是否写数值为默认值的成员。为了节省空间,默认不写。 /// 忽略名称大小写 - public static void WriteXml(XmlWriter writer, Object value, Boolean writeDefaultValueMember = false, Boolean ignoreNameCase = true) + public static void WriteXml(XmlWriter writer, Object value, Boolean writeDefaultValueMember = false, Boolean ignoreNameCase = true) => + WriteXml(writer, value, writeDefaultValueMember, ignoreNameCase, false); + + /// 写入模型,可显式保留逻辑名与物理名之间仅大小写不同的映射 + /// XML写入器 + /// 模型 + /// 是否写入默认值 + /// 是否忽略名称大小写 + /// 是否精确保留物理名称,优先于忽略大小写选项 + public static void WriteXml(XmlWriter writer, Object value, Boolean writeDefaultValueMember, Boolean ignoreNameCase, Boolean preserveNameCase) { var type = value.GetType(); var def = GetDefault(type); @@ -708,11 +717,11 @@ public static void WriteXml(XmlWriter writer, Object value, Boolean writeDefault else if (pi.Name is "TableName" or "ColumnName") { if (name == str) continue; - if (ignoreNameCase) + if (!preserveNameCase && ignoreNameCase) { if (name.EqualIgnoreCase(str)) continue; } - else + else if (!preserveNameCase) { // 如果全小写或者全大写,也不缺分大小写比较 if ((str == str.ToLower() || str == str.ToUpper()) && name.EqualIgnoreCase(str)) continue; diff --git a/XCode/Transform/IdExtracter.cs b/XCode/Transform/IdExtracter.cs index d2bdedeed..34fc34493 100644 --- a/XCode/Transform/IdExtracter.cs +++ b/XCode/Transform/IdExtracter.cs @@ -27,6 +27,9 @@ public class IdExtracter : IExtracter /// 总行数 public Int32 TotalCount { get; set; } + + /// 可选的逐页查询回调。参数为查询、起始行、最大行数;未设置时使用原DAL查询 + public Func? QueryPage { get; set; } #endregion #region 构造 @@ -60,7 +63,7 @@ public virtual IEnumerable Fetch() var sb = Builder.Clone().AppendWhereAnd($"{name}>{Row}"); // 查询数据 - var dt = Dal.Query(sb, 0, BatchSize); + var dt = QueryPage != null ? QueryPage(sb, 0, BatchSize) : Dal.Query(sb, 0, BatchSize); if (dt == null || dt.Rows == null) break; var count = dt.Rows.Count; diff --git a/XCode/Transform/PagingExtracter.cs b/XCode/Transform/PagingExtracter.cs index 3d6d9136e..d926f5105 100644 --- a/XCode/Transform/PagingExtracter.cs +++ b/XCode/Transform/PagingExtracter.cs @@ -25,6 +25,9 @@ public class PagingExtracter : IExtracter /// 总行数 public Int32 TotalCount { get; set; } + + /// 可选的逐页查询回调。参数为查询、起始行、最大行数;未设置时使用原DAL查询 + public Func? QueryPage { get; set; } #endregion #region 构造 @@ -61,7 +64,7 @@ public virtual IEnumerable Fetch() while (true) { // 查询数据 - var dt = Dal.Query(Builder, Row, BatchSize); + var dt = QueryPage != null ? QueryPage(Builder, Row, BatchSize) : Dal.Query(Builder, Row, BatchSize); if (dt == null || dt.Rows == null) break; var count = dt.Rows.Count; diff --git a/XCode/Transform/TimeExtracter.cs b/XCode/Transform/TimeExtracter.cs index c5bf0f6cc..9b5d82ef4 100644 --- a/XCode/Transform/TimeExtracter.cs +++ b/XCode/Transform/TimeExtracter.cs @@ -30,6 +30,9 @@ public class TimeExtracter : IExtracter /// 总行数 public Int32 TotalCount { get; set; } + + /// 可选的逐页查询回调。参数为查询、起始行、最大行数;未设置时使用原DAL查询 + public Func? QueryPage { get; set; } #endregion #region 构造 @@ -67,7 +70,7 @@ public virtual IEnumerable Fetch() { // 查询数据 var sb = Builder.Clone(); - var dt = Dal.Query(sb, 0, 1); + var dt = QueryPage != null ? QueryPage(sb, 0, 1) : Dal.Query(sb, 0, 1); // 第一页都没有数据,直接返回 if (dt == null || dt.Rows == null || dt.Rows.Count <= 0) @@ -95,7 +98,7 @@ public virtual IEnumerable Fetch() while (true) { // 分页查询数据 - var dt = Dal.Query(sb, startRow, BatchSize); + var dt = QueryPage != null ? QueryPage(sb, startRow, BatchSize) : Dal.Query(sb, startRow, BatchSize); if (dt == null || dt.Rows == null) break; var count = dt.Rows.Count; diff --git a/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs b/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs new file mode 100644 index 000000000..dfbae45b6 --- /dev/null +++ b/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs @@ -0,0 +1,184 @@ +using System; +using System.Collections.Generic; +using System.Data.Common; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading; +using System.Xml; +using Microsoft.Data.Sqlite; +using NewLife.Data; +using XCode.DataAccessLayer; +using XCode.Transform; +using Xunit; + +namespace XUnitTest.XCode.DataAccessLayer; + +/// 使用SQLite最小复现验证可选扩展点,不依赖其它数据库。 +[Collection("Database")] +public class PackageExtensionTests +{ + [Theory] + [InlineData("id")] + [InlineData("paging")] + [InlineData("time")] + public void Sync_QueryCallback_PreservesNullWithoutChangingDefaultReads(String algorithm) + { + using var scope = new Scope(); + var source = scope.Open("source"); + var target = scope.Open("target"); + var numeric = algorithm == "id"; + foreach (var dal in new[] { source, target }) + dal.Execute($"CREATE TABLE Rows(Id {(numeric ? "INTEGER" : "VARCHAR(30)")} NOT NULL PRIMARY KEY, Value INTEGER NULL, Created DATETIME NOT NULL)"); + source.Execute($"INSERT INTO Rows VALUES({(numeric ? "1" : "'1'")},NULL,'{DateTime.Now.AddSeconds(-5):yyyy-MM-dd HH:mm:ss}')"); + if (algorithm == "time") source.Execute("CREATE INDEX IX_Rows_Created ON Rows(Created)"); + var table = source.Db.CreateMetaData().GetTables().Single(t => t.TableName == "Rows"); + var package = new DbPackage { Dal = source, IgnoreError = false }; + Assert.Equal(algorithm == "id" ? typeof(IdExtracter) : algorithm == "time" ? typeof(TimeExtracter) : typeof(PagingExtracter), package.GetExtracter(table).GetType()); + Assert.Equal(0L, Convert.ToInt64(source.Query("SELECT Value FROM Rows").Rows.Single()[0])); + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + var calls = 0; + package.QueryCallback = (actualSource, builder, row, size, token) => + { + Assert.Same(source, actualSource); + Assert.Equal(cancellation.Token, token); + Assert.InRange(++calls, 1, 10); + return ReadPage(actualSource, builder, row, size); + }; + Assert.Equal(1, package.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.InRange(calls, 1, 10); + Assert.Equal(1, target.Session.ExecuteScalar("SELECT COUNT(*) FROM Rows WHERE Value IS NULL")); + Assert.Equal(0L, Convert.ToInt64(source.Query("SELECT Value FROM Rows").Rows.Single()[0])); + } + + [Fact] + public void Sync_CustomExtracter_KeepsItsOwnQueryAndSource() + { + using var scope = new Scope(); + var host = scope.Open("host"); + var external = scope.Open("external"); + var target = scope.Open("target"); + foreach (var dal in new[] { host, external, target }) dal.Execute("CREATE TABLE Rows(Id VARCHAR(30) NOT NULL PRIMARY KEY, Value INTEGER NULL)"); + external.Execute("INSERT INTO Rows VALUES('external',911)"); + var table = host.Db.CreateMetaData().GetTables().Single(t => t.TableName == "Rows"); + var package = new DbPackage + { + Dal = host, + IgnoreError = false, + QueryCallback = (_, _, _, _, _) => throw new InvalidOperationException("Custom extractor must own its query."), + CreateExtracterCallback = _ => new PagingExtracter(external, "Rows", "Id"), + }; + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + Assert.Equal(1, package.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.Equal(911, target.Session.ExecuteScalar("SELECT Value FROM Rows")); + } + + [Fact] + public void Sync_UnsetCallback_PreservesExistingDefaultNullConversion() + { + using var scope = new Scope(); + var source = scope.Open("source"); + var target = scope.Open("target"); + foreach (var dal in new[] { source, target }) dal.Execute("CREATE TABLE Rows(Id INTEGER NOT NULL PRIMARY KEY, Value INTEGER NULL)"); + source.Execute("INSERT INTO Rows VALUES(1,NULL)"); + var table = source.Db.CreateMetaData().GetTables().Single(t => t.TableName == "Rows"); + var package = new DbPackage { Dal = source, IgnoreError = false }; + Assert.Null(package.QueryCallback); + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + Assert.Equal(1, package.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.Equal(1, target.Session.ExecuteScalar("SELECT COUNT(*) FROM Rows WHERE Value=0")); + } + + [Theory] + [InlineData("mixedname", "value")] + [InlineData("MIXEDNAME", "VALUE")] + [InlineData("mixedName", "vAlue")] + public void WriteXml_Exact_RoundTripsPhysicalSpelling(String tableName, String columnName) + { + var table = DAL.CreateTable(); + table.Name = "MixedName"; + table.TableName = tableName; + table.DbType = DatabaseType.SQLite; + var column = table.CreateColumn(); + column.Name = "Value"; + column.ColumnName = columnName; + column.DataType = typeof(Int32); + table.Columns.Add(column); + var text = new StringBuilder(); + using (var writer = XmlWriter.Create(text, new XmlWriterSettings { OmitXmlDeclaration = true })) + { + writer.WriteStartElement("Table"); + table.WriteXml(writer, NameFormats.Exact); + writer.WriteEndElement(); + } + Assert.Contains("TableName=\"" + tableName + "\"", text.ToString()); + Assert.Contains("ColumnName=\"" + columnName + "\"", text.ToString()); + var imported = DAL.Import("" + text + "").Single(); + Assert.Equal(tableName, imported.TableName); + Assert.Equal(columnName, imported.Columns.Single().ColumnName); + } + + [Theory] + [InlineData(NameFormats.Default)] + [InlineData(NameFormats.None)] + public void WriteXml_ExistingModes_KeepTheirOriginalCaseHeuristic(NameFormats mode) + { + var table = DAL.CreateTable(); + table.Name = "MixedName"; + table.TableName = "mixedname"; + var text = new StringBuilder(); + using (var writer = XmlWriter.Create(text, new XmlWriterSettings { OmitXmlDeclaration = true })) + { + writer.WriteStartElement("Table"); + table.WriteXml(writer, mode); + writer.WriteEndElement(); + } + Assert.DoesNotContain("TableName=", text.ToString()); + Assert.Equal(4, (Int32)NameFormats.Underline); + } + + private static DbTable ReadPage(DAL source, SelectBuilder builder, Int64 row, Int64 size) + { + using var connection = new SqliteConnection(source.Db.ConnectionString); + connection.Open(); + using var command = connection.CreateCommand(); + command.CommandText = source.PageSplit(builder.Clone(), row, size).ToString(); + command.Parameters.AddRange(builder.Parameters.Cast().ToArray()); + using var reader = command.ExecuteReader(); + var result = new DbTable(); + result.ReadHeader(reader); + for (var i = 0; i < size && reader.Read(); i++) + { + var values = new Object?[reader.FieldCount]; + for (var j = 0; j < values.Length; j++) values[j] = reader.IsDBNull(j) ? null : reader.GetValue(j); + result.Rows.Add(values); + } + result.Total = result.Rows.Count; + return result; + } + + private sealed class Scope : IDisposable + { + private readonly String _directory = Path.Combine(Path.GetTempPath(), "xcode-extension-" + Guid.NewGuid().ToString("N")); + private readonly List _dals = new(); + public Scope() { Directory.CreateDirectory(_directory); GC.KeepAlive(SqliteFactory.Instance); } + public DAL Open(String name) + { + var connection = "extensions_" + Guid.NewGuid().ToString("N"); + DAL.AddConnStr(connection, "Data Source=" + Path.Combine(_directory, name + ".sqlite") + ";Pooling=False", null, "SQLite"); + var dal = DAL.Create(connection); + _dals.Add(dal); + return dal; + } + public void Dispose() + { + foreach (var dal in _dals) { dal.Session.Dispose(); dal.Db.Dispose(); } + SqliteConnection.ClearAllPools(); + var absolute = Path.GetFullPath(_directory); + if (!absolute.StartsWith(Path.GetFullPath(Path.GetTempPath()), StringComparison.OrdinalIgnoreCase) + || !Path.GetFileName(absolute).StartsWith("xcode-extension-", StringComparison.Ordinal)) + throw new InvalidOperationException("Unexpected test directory."); + if (Directory.Exists(absolute)) Directory.Delete(absolute, true); + } + } +} From d53442b65dc8bf80a3b16e095fe74225f7537c55 Mon Sep 17 00:00:00 2001 From: maikebing Date: Fri, 6 Nov 2026 14:12:02 +0800 Subject: [PATCH 2/4] test(etl): use the source SQLite factory in page fixture --- HANDOFF.md | 1 + XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HANDOFF.md b/HANDOFF.md index aaf17c636..f34afb3d2 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -7,3 +7,4 @@ This branch starts at upstream `512d8a434`. It responds to the architecture revi - No database type checks, DbSession/DAL changes, provider dependency changes or publication belong in this architecture PR. - SQLite-only regressions provide the minimal NULL migration and XML spelling reproductions. Validation and final commit identity are recorded in the PR; downstream Provider work depends on this branch being accepted and published with the provider. - Validation: 10/10 SQLite/XML regressions, no failures/skips; all six XCode targets build with 859 existing-repository warnings and 0 errors; English runtime-message check passes. The upstream source has mixed LF/CRLF despite the global editorconfig: preserve original per-file bytes and use `git -c core.whitespace=cr-at-eol diff --check`, rather than mixing an EOL rewrite into the architecture change. A formatter probe and the initial zero-test discovery are retained in external validation evidence and are not test PASS claims. +- CI follow-up: the full suite may choose System.Data.SQLite while the minimal host chooses Microsoft.Data.Sqlite. The page-reader fixture now creates its connection/parameters through the actual source factory; all NULL assertions remain. Initial CI failures and this correction are recorded separately. OIDC on fork PRs, iOS Xcode/workload mismatch and s390x NovaDb failures require separate upstream workflow/dependency decisions. diff --git a/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs b/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs index dfbae45b6..8d25f4316 100644 --- a/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs +++ b/XUnitTest.XCode/DataAccessLayer/PackageExtensionTests.cs @@ -139,11 +139,13 @@ public void WriteXml_ExistingModes_KeepTheirOriginalCaseHeuristic(NameFormats mo private static DbTable ReadPage(DAL source, SelectBuilder builder, Int64 row, Int64 size) { - using var connection = new SqliteConnection(source.Db.ConnectionString); + using var connection = source.Db.Factory.CreateConnection()!; + connection.ConnectionString = source.Db.ConnectionString; connection.Open(); using var command = connection.CreateCommand(); command.CommandText = source.PageSplit(builder.Clone(), row, size).ToString(); - command.Parameters.AddRange(builder.Parameters.Cast().ToArray()); + command.CommandTimeout = 30; + command.Parameters.AddRange(builder.Parameters.ToArray()); using var reader = command.ExecuteReader(); var result = new DbTable(); result.ReadHeader(reader); From a224144c95865d5ae6f10c7f6db5eb8e6c816c9e Mon Sep 17 00:00:00 2001 From: maikebing Date: Fri, 6 Nov 2026 14:35:20 +0800 Subject: [PATCH 3/4] feat(sonnetdb): support 5.0 through provider overrides --- ChangeLog.md | 1 + Doc/SonnetDB.md | 117 +++------ HANDOFF.md | 6 + XCode.SonnetDB/XCode.SonnetDB.csproj | 4 +- XCode/DataAccessLayer/Database/SonnetDB.cs | 193 ++++++-------- .../Database/SonnetDBPackage.cs | 37 +++ XCode/Locales/ar.yml | 15 +- XCode/Locales/bn.yml | 15 +- XCode/Locales/cs.yml | 15 +- XCode/Locales/da.yml | 15 +- XCode/Locales/de.yml | 15 +- XCode/Locales/el.yml | 15 +- XCode/Locales/es.yml | 15 +- XCode/Locales/fa.yml | 15 +- XCode/Locales/fi.yml | 15 +- XCode/Locales/fr.yml | 15 +- XCode/Locales/he.yml | 15 +- XCode/Locales/hi.yml | 15 +- XCode/Locales/hu.yml | 15 +- XCode/Locales/id.yml | 15 +- XCode/Locales/it.yml | 15 +- XCode/Locales/ja.yml | 15 +- XCode/Locales/ko.yml | 15 +- XCode/Locales/ms.yml | 15 +- XCode/Locales/nb.yml | 15 +- XCode/Locales/nl.yml | 15 +- XCode/Locales/pl.yml | 15 +- XCode/Locales/pt.yml | 15 +- XCode/Locales/ro.yml | 15 +- XCode/Locales/ru.yml | 15 +- XCode/Locales/sv.yml | 15 +- XCode/Locales/th.yml | 15 +- XCode/Locales/tr.yml | 15 +- XCode/Locales/uk.yml | 15 +- XCode/Locales/vi.yml | 15 +- XCode/Locales/zh-Hans.yml | 15 +- XCode/Locales/zh-Hant.yml | 15 +- .../DataAccessLayer/SonnetDBMigrationTests.cs | 238 ++++++++++++++++++ .../DataAccessLayer/SonnetDBRemoteTests.cs | 26 ++ .../DataAccessLayer/SonnetDBTests.cs | 148 ++++++----- 40 files changed, 603 insertions(+), 632 deletions(-) create mode 100644 XCode/DataAccessLayer/Database/SonnetDBPackage.cs create mode 100644 XUnitTest.XCode/DataAccessLayer/SonnetDBMigrationTests.cs diff --git a/ChangeLog.md b/ChangeLog.md index 806096378..08a43f2e3 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,7 @@ ### Added - 为同步内置抽取器增加可选逐页查询回调,保留默认查询和外部抽取器合同;增加 `NameFormats.Exact` 与兼容 XML 重载,显式保留物理名称大小写。 +- SonnetDB 5.0.0 原生类型、元数据、分页、事务和批量语义映射;普通 NULL 读取使用下游 override,跨库迁移通过显式 `SonnetDBPackage` 保真,不向基础类加入数据库特判。 ## v12.3.2026.1024 (2026-10-24) diff --git a/Doc/SonnetDB.md b/Doc/SonnetDB.md index 5313cb642..292f351d2 100644 --- a/Doc/SonnetDB.md +++ b/Doc/SonnetDB.md @@ -1,95 +1,52 @@ -# SonnetDB 接入与能力验收 +# SonnetDB 5.0 -本适配使用官方 `SonnetDB` NuGet 包中的 `SonnetDB.Data.SndbProviderFactory`,支持嵌入式数据库目录和远程 Server。数据库基线为已经发布的 **4.0.0**,运行时需要 **.NET 10**。XCode 主包仍保留原有目标框架;驱动依赖包装项目 `XCode.SonnetDB` 使用 net10.0。 - -跟踪 issue:[NewLife.XCode #100](https://github.com/NewLifeX/NewLife.XCode/issues/100)。适配仍在验收中,数据库缺口解决并发布、XCode 集成验证完成前,不宣称与 PostgreSQL / SQLite 的全部 ORM 能力等价。 - -## 使用 - -本 PR 的代码可通过项目引用构建。`XCode.SonnetDB` 正式发布后可安装此适配包;它依赖 XCode 主包和 SonnetDB 4.0.0。 +XCode uses SonnetDB's native ADO.NET provider for embedded directories and remote Server connections. Install `XCode.SonnetDB` with the matching NewLife.XCode release. The SonnetDB dependency is **5.0.0** and requires .NET 10. ```csharp -using XCode.DataAccessLayer; - -// Data Source 指向数据库目录。 -DAL.AddConnStr("app", "Data Source=./data/app", null, "SonnetDB"); -var dal = DAL.Create("app"); -var dbType = dal.DbType; // DatabaseType.SonnetDB - -// 远程连接:使用部署提供的 Token,不将真实凭据提交到源代码。 -DAL.AddConnStr("remote", - "Data Source=sonnetdb+http://localhost:5000/app;Token=;Protocol=rest", - null, "SonnetDB"); +DAL.AddConnStr("demo", "Data Source=./demo-db", null, "SonnetDB"); +var dal = DAL.Create("demo"); ``` -提供者名称可用 `SonnetDB` / `SonnetDB.Data`。远程连接的 `rest`、`auto`、`frame-http2` 遵循官方驱动合同;强制 HTTP/2 必须连接配置了 HTTP/2 的端点。DML 写入使用官方 REST SQL 通道,不把只读 Frame 查询端点当作写入协议。 - -## 已验证的适配范围 +For a Server use `Data Source=sonnetdb+http://localhost:5080/demo;Token=YOUR_TOKEN;Protocol=rest`, or the Server's HTTP/2 endpoint with `Protocol=frame-http2`. Use matching 5.0 Core/Data/Protocol and Server artifacts; do not combine the 5.0 provider with an older Server. -✅ 表示指定场景通过真实正式包或 Server 验证;🧪 表示仍需验证;🛠️ 表示数据库尚需实现或修复;📦 表示仍需发布;⛔ 表示当前版本不能完整提供该能力。实现、验证、正式发布和 ORM 集成分别确认,跳过测试不计为通过。 +## Supported contracts -| 能力 | 当前适配与验证范围 | +| XCode path | SonnetDB behavior | | --- | --- | -| 驱动接入 | ✅ DatabaseType / DbFactory、提供者识别、官方工厂、嵌入式与远程连接 | -| 自动建表与反向工程 | ✅ 关系表、标量列、主键、自增、默认值、普通及复合唯一索引;原生 GetSchema,不依赖 pg_catalog | -| 视图目录 | ✅ 视图名称和定义已可读取;⛔ 声明列类型不完整,反向工程明确拒绝,见 #261 | -| 实体 CRUD | ✅ 同步/异步插入、更新、删除,identity 非首列正确回填,Unicode/引号/NULL/BLOB 往返 | -| 标量值 | ✅ 有符号整数、布尔、常用 Decimal 值和毫秒 DateTime;高精度边界见下表,不能由这项推断全部 Decimal / DateTime 已支持 | -| 查询与分页 | ✅ 参数、COUNT/SUM、LIMIT/OFFSET、仅 OFFSET、基础 LINQ、JOIN、ROW_NUMBER 和表前缀 | -| DataSet 查询 | ✅ 会话用 DbDataReader / DataTable.Load 填充单结果集,补齐官方工厂没有 DataAdapter 的接入差异 | -| 批量写入 | ✅ Insert、InsertIgnore、Upsert;支持冲突更新和累加字段,不将 Upsert 冒称 Replace | -| 有界删除 | ✅ 单主键子查询确保 maximumRows 生效;表达式删除同时修复未传递参数的问题 | -| 迁移与清空 | ✅ 添加/删除普通列、修改可空性/默认值、创建/删除索引、保留已有数据、TRUNCATE 重置自增 | -| 事务 | ✅ ReadCommitted 提交、回滚和读取自身写入;远程使用真实 Server 会话 | -| 模型与代码生成 | ✅ DatabaseType 可序列化为 SonnetDB,继续使用现有通用模型/代码生成链路;🧪 大规模跨库迁移和所有业务实体组合未逐项验证 | -| 缓存、分表、权限与租户 | 使用已有 XCode 运行时;✅ 独立实体 split/表前缀路径,🧪 各业务模块与 SonnetDB 的完整组合仍需验收 | - -## 数据库缺口和后续发布 - -以下 issue 都是明确的能力缺口,不能因本适配成功构建而标为完成。适配中的保护异常表示能力尚未开放。 +| Entity CRUD, async identity and batch Insert/InsertIgnore/Upsert | Native relational SQL and RETURNING; generated identity is located by declaration metadata | +| BatchReplace | Native REPLACE deletes conflicting rows and inserts the new row; omitted fields use defaults, identity/triggers/FKs follow the engine contract | +| Decimal parameters, literals and ADD/ALTER | Exact decimal values; explicit precision and scale persist and reject inexact or overflowing writes | +| DateTime | New models use DATETIME2 and DbType.DateTime2 for 100ns ticks; Local inputs retain CLR wall-clock ticks in parameters and literals; explicit legacy DATETIME is a separate millisecond contract | +| DateTimeOffset and TimeSpan | Native DATETIMEOFFSET and DURATION; DateTimeOffset returns complete UTC ticks with offset zero | +| String Length and descriptions | STRING(n), length evolution and COMMENT ON TABLE/COLUMN; reverse metadata reads saved length, precision and REMARKS | +| Pagination | Nonnegative Int64 LIMIT/OFFSET positions, including positions larger than Int32.MaxValue | +| Bounded delete | Native DELETE LIMIT preserves the maximum direct row count for single/composite/no-primary-key tables | +| Transactions | ReadCommitted and Serializable; commit and rollback use the engine's native transactions | +| Empty views and model export | Declared column metadata without inferring types from data; NameFormats.Exact explicitly retains physical identifier spelling | +| Nullable values and cross-database migration | Session overrides preserve numeric NULL; SonnetDBPackage explicitly enables exact NULL page reads; custom extraction callbacks keep their own source DAL | + +SQL names preserve their declared spelling. Ordinary references are case insensitive and quoted references are exact; embedded quote characters are escaped. For exact XML, use `table.WriteXml(writer, NameFormats.Exact)` or `EntityBuilderOption.NameFormat = NameFormats.Exact` on complete model export. This is an explicit option; the ordinary compact XML contract stays unchanged. + +For a migration involving SonnetDB, opt in through the provider data package: -| 能力 | 4.0.0 行为与适配处理 | 后续跟踪 | -| --- | --- | --- | -| 表/列描述 | ⛔ 不持久化注释。直接注释 API 拒绝;自动迁移输出未完成日志,不将其计为成功 | 🛠️ [#237](https://github.com/IoTSharp/SonnetDB/issues/237) → 🧪 验证 → 📦 发布 → 🔧 集成 | -| 字符串长度 | ⛔ STRING 无界,不能保存或约束模型 Length;建模明确日志,长度变更直接拒绝 | 🛠️ [#240](https://github.com/IoTSharp/SonnetDB/issues/240) → 🧪 → 📦 → 🔧 | -| Decimal 参数完整精度 | ⛔ 高精度值被底层转换为浮点;适配拒绝不能保真的输入,常用低精度值继续使用 | 🛠️ [#235](https://github.com/IoTSharp/SonnetDB/issues/235) → 🧪 → 📦 → 🔧 | -| DATETIME 亚毫秒精度 | ⛔ 存储截到毫秒;适配拒绝带亚毫秒的 DateTime / DateTimeOffset | 🛠️ [#236](https://github.com/IoTSharp/SonnetDB/issues/236) → 🧪 → 📦 → 🔧 | -| Decimal 列迁移精度 | ⛔ ADD/ALTER 的显式 p/s 丢成 (38,28);拒绝受影响迁移,CREATE 的显式精度单独验证 | 🛠️ [#241](https://github.com/IoTSharp/SonnetDB/issues/241) → 🧪 → 📦 → 🔧 | -| BatchReplace | ⛔ 没有 delete + insert 的原子替换;明确拒绝,BatchCapability 不宣称 Replace | 🛠️ [#242](https://github.com/IoTSharp/SonnetDB/issues/242) → 🧪 → 📦 → 🔧 | -| 复合/无主键有界删除 | ⛔ 缺少等价原子 SQL;明确拒绝,避免退回无界 DELETE | 🛠️ [#243](https://github.com/IoTSharp/SonnetDB/issues/243) → 🧪 → 📦 → 🔧 | -| 无主键表写入 | ⛔ 建空表后 INSERT 被拒绝;不暗加业务主键 | 🛠️ [#255](https://github.com/IoTSharp/SonnetDB/issues/255) → 🧪 → 📦 → 🔧 | -| 无条件全表 Update | ⛔ 原生 UPDATE 要求 WHERE,现有静态批量更新的空条件调用仍有差距 | 🛠️ [#257](https://github.com/IoTSharp/SonnetDB/issues/257) → 🧪 → 📦 → 🔧 | -| 大于 Int32 的分页位置 | ⛔ 原生 LIMIT/OFFSET 限为 Int32;适配明确拒绝更大 Int64 值 | 🛠️ [#256](https://github.com/IoTSharp/SonnetDB/issues/256) → 🧪 → 📦 → 🔧 | -| Rank / DenseRank | ⛔ XCode WindowFunction 已有这些接口,SonnetDB 当前窗口不支持 | 🛠️ [#222](https://github.com/IoTSharp/SonnetDB/issues/222) → 🧪 → 📦 → 🔧 | -| 更高隔离等级 | ⛔ Serializable 标签无对应完整隔离;适配仅开放 ReadCommitted / Unspecified | 🛠️ [#225](https://github.com/IoTSharp/SonnetDB/issues/225) → 🧪 → 📦 → 🔧 | -| 事务内锁定读 | ⛔ 尚无真实锁定读,乐观并发不能替代此合同 | 🛠️ [#233](https://github.com/IoTSharp/SonnetDB/issues/233) → 🧪 → 📦 → 🔧 | -| 主键演进 | ⛔ 现有列主键/自增定义变化不由普通 ALTER COLUMN 完成,需要完整迁移合同 | 🛠️ [#226](https://github.com/IoTSharp/SonnetDB/issues/226) → 🧪 → 📦 → 🔧 | -| 事务内 DDL | ⛔ 原生轻事务拒绝 DDL,不能称迁移支持事务回滚 | 🛠️ [#227](https://github.com/IoTSharp/SonnetDB/issues/227) → 🧪 → 📦 → 🔧 | -| 多结果集 | ⛔ 多条 SELECT / NextResult 不完整;单结果集 DataSet 补齐不代表这项完成 | 🛠️ [#229](https://github.com/IoTSharp/SonnetDB/issues/229) → 🧪 → 📦 → 🔧 | -| schema 限定表名 | ⛔ 原生关系表 namespace 与限定表名不完整,表名前缀不等于 schema | 🛠️ [#232](https://github.com/IoTSharp/SonnetDB/issues/232) → 🧪 → 📦 → 🔧 | -| 精确引用标识符 | ⛔ 4.0.0 未包含完整大小写/歧义合同;✅ main 已有 #211 实现,尚未正式交付 | 📦 [#230](https://github.com/IoTSharp/SonnetDB/issues/230) 等待 SonnetDB 发布 → 🧪 XCode 验证 → 🔧 集成 | -| 视图声明列 | ⛔ Columns 缺少视图列,零行读取器返回 Object 类型;反向工程拒绝猜类型,含此类视图的全表元数据枚举也受影响 | 🛠️ [#261](https://github.com/IoTSharp/SonnetDB/issues/261) → 🧪 → 📦 → 🔧 | - -SonnetDB 4.0.0 的 RETURNING、ON CONFLICT、GetSchema 和基础 DECIMAL 已经发布,✅ 这些能力不标为等待发版。上述缺口尚未实现时以 🛠️ 为主;只有修复已经合入但正式包未包含时,才改为“📦 等待 SonnetDB 发布”。本适配及 `XCode.SonnetDB` 自身仍为 📦 待合入发布。 - -嵌入式建库通过 Data Source 目录打开,远程建库使用官方控制面 SQL。嵌入式 DropDatabase 不自动删除数据库目录,当前明确拒绝;备份、恢复及各业务模块的全部组合未在此次验证中冒称通过。 - -## 验证入口 +```csharp +var package = new SonnetDBPackage { Dal = source, IgnoreError = false }; +package.Sync(table, target.ConnName, syncSchema: false, cancellationToken: token); +``` -嵌入式测试安装正式 SonnetDB 4.0.0,逐项使用隔离临时目录。未完成的未来合同测试有显式 Skip 及 issue 链接;同时执行拒绝保护测试,保证失败不会偷偷写坏数据。 +This keeps the existing ID/time/paging algorithms and reads SQL NULL on an independent source connection using that source's actual factory. It does not enlist an existing source-session transaction or provide a consistent database snapshot across pages; use an offline or otherwise stable source for that requirement. Each page is bounded by the extractor batch and source command timeout (30 seconds by default), with the Sync token checked before reading and between rows. External extractor factories continue to own their source/Fetch. Regular DbPackage and ordinary reads for other databases retain their previous defaults. -2026-10-09 验收记录:SonnetDB 嵌入式及真实 Server 共 31 项,27 通过、4 个未来能力合同明确跳过;现有 SQLite / DbBase / DAL / WindowFunction 回归 70 项中 69 通过、1 项 `SQLiteTests.MetaTest` 因空的 Membership 数据库缺少表而失败。原始提交 `280b2a2f` 在隔离 worktree 同样复现该项失败;不将它归为新适配回归,也不把此次检查称为全套测试通过。PostgreSQL 的真实服务回归尚未执行。 +## Boundaries -```powershell -dotnet test XUnitTest.XCode/XUnitTest.XCode.csproj --filter FullyQualifiedName~SonnetDBTests -``` +- A UInt64 mapped to the provider's signed INT remains limited to Int64.MaxValue. A different database column type requires an explicit application mapping. +- New DateTime models use DATETIME2. Existing DATETIME columns retain the legacy contract; do not silently bind submillisecond values as DbType.DateTime. +- Unsupported transaction isolation levels are rejected. ReadCommitted does not imply dirty reads or arbitrary locking hints. +- Changes to primary-key or identity definitions require an explicit migration. The adapter does not silently rewrite complex schema migrations. +- Embedded DropDatabase does not delete a directory through SQL. Coordinate offline backup and restore before upgrading storage format. +- HTTP/2 uses native Frame where the driver supports it, plus HTTP/2 REST for applicable lifecycle/transaction operations. This is not a claim that every request uses binary Frame. -远程测试需要真实 Server 的 HTTP 和 HTTP/2 端点,凭据来自测试环境: +Run the complete `SonnetDBTests`, `SonnetDBMigrationTests` and `SonnetDBRemoteTests` files against the matching packages and real Server. The migration regressions cover the default ID, time and paging extractors, external extractor callbacks, numeric NULL, cancellation and other databases' default behavior. Set `SONNETDB_TEST_CONNECTION` and `SONNETDB_TEST_HTTP2_CONNECTION` for remote tests; the source tests otherwise explicitly skip remote acceptance. Release acceptance must inspect executed/skipped counts and verify the loaded package and Server identities. -```powershell -$env:SONNETDB_TEST_CONNECTION = 'Data Source=sonnetdb+http://localhost:5000/app;Token=' -$env:SONNETDB_TEST_HTTP2_CONNECTION = 'Data Source=sonnetdb+http://localhost:5001/app;Token=' -dotnet test XUnitTest.XCode/XUnitTest.XCode.csproj --filter FullyQualifiedName~SonnetDBRemoteTests -``` +Upstream merge, XCode NuGet publication and public-package consumer acceptance are separate delivery steps. Source/candidate validation does not establish those publication results. -没有上述环境配置时,远程测试明确跳过。它分别验证 REST、Auto、强制 HTTP/2 的元数据、同步/异步 identity、DataSet、分页、事务读写/回滚及有界删除;本地验收使用官方 v4.0.0 Windows Server bundle 并验证发布 SHA-256。 +This change depends on the generic, opt-in contracts in [PR #104](https://github.com/NewLifeX/NewLife.XCode/pull/104), as requested in the closed [PR #103](https://github.com/NewLifeX/NewLife.XCode/pull/103). Ordinary reader behavior is implemented through SonnetDBSession.OnFill/QueryAsync overrides. No database-specific branch is added to DbSession, DAL, ModelHelper or DbPackage. Existing publicly released XCode packages remain separate from this source candidate until the maintainer releases matching Core/Provider packages. diff --git a/HANDOFF.md b/HANDOFF.md index f34afb3d2..54a2b6b3c 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -1,5 +1,11 @@ # Provider extension contracts — 2026-11-06 +Provider continuation: `codex/sonnetdb5-provider-overrides-20261106` depends on architecture PR #104 / `d53442b65dc8bf80a3b16e095fe74225f7537c55`. Closed #103 / f21d0c7 is preserved. Provider changes use OnFill/QueryAsync overrides and an explicit SonnetDBPackage; no database-specific base-class branches were carried forward. Source dependency is public SonnetDB/Core/Protocol 5.0.0 / 84433f9e, with matching public NativeAOT Server SHA256 4c6cdee527f3f82c25945bbe5683cc92790e8daaf2b3b227c1b8adf2911f882e. + +The original 50 cases/assertions are retained with explicit migration/XML entry points. Initial new-source suite: 64/64 passed, 0 failed/skipped (50 + 10 generic + 4 NULL). Independent embedded/REST/Frame journeys passed 18 + 14 + 14 checks per protocol, with nine consumers and six actual Server starts/stops. DLL identities and hashes, fresh NuGet.org cache origins, raw TRX and failures remain in task-owned external validation evidence. Final commit/package-bound checks and PR receipts are reported separately in the Provider PR; these precommit results do not identify an already-published XCode package. + +Architecture CI at d53442b65 passes all four test jobs, solution build, localization, AOT analyzer and AOT/smoke jobs except s390x NovaDb. Remaining OIDC fork-PR, iOS Xcode/workload and s390x dependency failures are separate upstream concerns; never label the whole CI green. Next: maintainers review/merge #104 before Provider acceptance; release matching NewLife.XCode and XCode.SonnetDB, then run a fully public fresh-cache consumer. SonnetDB #404 remains OPEN until that external chain closes. No formal package/tag, secret changes, EF Provider publication or production deployment is performed here. + This branch starts at upstream `512d8a434`. It responds to the architecture review in NewLifeX/NewLife.XCode#103; that closed PR remains unchanged. - Generic, opt-in `DbPackage.QueryCallback` configures only exact built-in extractors. Custom extractor callbacks and derived extractors retain their source and `Fetch`. A missing callback preserves the original DAL query path. diff --git a/XCode.SonnetDB/XCode.SonnetDB.csproj b/XCode.SonnetDB/XCode.SonnetDB.csproj index 6e6bf94a9..bfd02f732 100644 --- a/XCode.SonnetDB/XCode.SonnetDB.csproj +++ b/XCode.SonnetDB/XCode.SonnetDB.csproj @@ -19,14 +19,14 @@ https://github.com/NewLifeX/NewLife.XCode git 新生命团队;X组件;NewLife;SonnetDB;ORM - 新增 SonnetDB 4.0.0 官方 ADO.NET 驱动接入;支持关系表元数据、常用 CRUD、自增、分页、批量 Insert/InsertIgnore/Upsert、单主键有界删除与基本迁移;修正数值条件转换、唯一索引 Upsert、默认值与索引迁移缺陷;能力边界见 Doc/SonnetDB.md + 使用 SonnetDB 5.0 官方 ADO.NET 驱动;支持精确 Decimal、DATETIME2、持久注释、长度与精度迁移、Serializable、原生 Replace、Int64 分页及复合/无主键有界删除;能力与边界见 Doc/SonnetDB.md。 MIT README.nuget.md - + diff --git a/XCode/DataAccessLayer/Database/SonnetDB.cs b/XCode/DataAccessLayer/Database/SonnetDB.cs index 445886d31..83735b17b 100644 --- a/XCode/DataAccessLayer/Database/SonnetDB.cs +++ b/XCode/DataAccessLayer/Database/SonnetDB.cs @@ -15,12 +15,12 @@ internal class SonnetDB : RemoteDb public override DatabaseType Type => DatabaseType.SonnetDB; /// - public override BatchCapability BatchCapability => BatchCapability.Insert | BatchCapability.InsertIgnore | BatchCapability.Upsert; + public override BatchCapability BatchCapability => BatchCapability.Insert | BatchCapability.InsertIgnore | BatchCapability.Upsert | BatchCapability.Replace; /// public override String SystemDatabaseName => String.Empty; - /// 默认使用参数,并拒绝SonnetDB 4.0.0无法保真的数值与时间。 + /// 使用SonnetDB 5.0原生参数、精确数值与DATETIME2时间合同。 public SonnetDB() => UseParameter = true; protected override DbProviderFactory? CreateFactory() => GetProviderFactory(null, "SonnetDB.Data.dll", "SonnetDB.Data.SndbProviderFactory"); @@ -76,8 +76,6 @@ public override SelectBuilder PageSplit(SelectBuilder builder, Int64 startRowInd private static String Pagination(Int64 startRowIndex, Int64 maximumRows) { - if (startRowIndex > Int32.MaxValue || maximumRows > Int32.MaxValue) - throw new NotSupportedException(L.T("SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.")); var sql = maximumRows > 0 ? $" LIMIT {maximumRows}" : String.Empty; if (startRowIndex > 0) sql += $" OFFSET {startRowIndex}"; return sql; @@ -112,12 +110,12 @@ public override String FormatValue(IDataColumn column, Object? value) { var offset = value is DateTimeOffset dateOffset ? dateOffset : DateTimeOffset.Parse(value.ToString()!, CultureInfo.InvariantCulture); CheckValue(offset, typeof(DateTimeOffset)); - return Quote(offset.UtcDateTime.ToString("O", CultureInfo.InvariantCulture)); + return "CAST(" + Quote(offset.ToString("O", CultureInfo.InvariantCulture)) + " AS DATETIMEOFFSET)"; } if (type == typeof(TimeSpan) || value is TimeSpan) { var span = value is TimeSpan timeSpan ? timeSpan : TimeSpan.Parse(value.ToString()!, CultureInfo.InvariantCulture); - return Quote(span.ToString("c", CultureInfo.InvariantCulture)); + return "CAST(" + Quote(span.ToString("c", CultureInfo.InvariantCulture)) + " AS DURATION)"; } if (type == typeof(Guid) || value is Guid) return Quote(Guid.Parse(value.ToString()!).ToString("D")); if (type == typeof(String) || type == typeof(Char)) return Quote(Convert.ToString(value, CultureInfo.InvariantCulture)!); @@ -138,41 +136,17 @@ public override String FormatValue(IDataColumn column, Object? value) public override String FormatDateTime(IDataColumn column, DateTime dateTime) { CheckValue(dateTime, typeof(DateTime)); - return Quote(dateTime.ToString("yyyy-MM-ddTHH:mm:ss.fffK", CultureInfo.InvariantCulture)); + if (dateTime.Kind == DateTimeKind.Local) dateTime = DateTime.SpecifyKind(dateTime, DateTimeKind.Unspecified); + return "CAST(" + Quote(dateTime.ToString("O", CultureInfo.InvariantCulture)) + " AS DATETIME2)"; } internal static void CheckValue(Object value, Type? type) { if (value == DBNull.Value) return; - if (type == typeof(Decimal) || value is Decimal) - { - var number = Convert.ToDecimal(value, CultureInfo.InvariantCulture); - // 4.0.0参数与数字字面量先经Float64,再由Convert.ToDecimal恢复约15位有效数字。 - try - { - if (Convert.ToDecimal((Double)number) == number) return; - } - catch (OverflowException) { } - throw new NotSupportedException(L.T("SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.")); - } - if (value is DateTimeOffset offset) - { - CheckTime(offset.UtcDateTime.Ticks); - } - else if (type == typeof(DateTime) || value is DateTime) - { - CheckTime(Convert.ToDateTime(value, CultureInfo.InvariantCulture).Ticks); - } if ((type == typeof(UInt64) || value is UInt64) && Convert.ToUInt64(value, CultureInfo.InvariantCulture) > Int64.MaxValue) throw new NotSupportedException(L.T("SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.")); } - internal static void CheckTime(Int64 ticks) - { - if (ticks % TimeSpan.TicksPerMillisecond != 0) - throw new NotSupportedException(L.T("SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.")); - } - /// public override IDataParameter CreateParameter(String name, Object? value, Type? type = null) { @@ -200,19 +174,25 @@ public override IDataParameter CreateParameter(String name, Object? value, Type? } else if (type == typeof(DateTimeOffset)) { - value = value is DateTimeOffset offset ? offset.UtcDateTime : value; - type = typeof(DateTime); + var parameter = Factory.CreateParameter()!; + parameter.ParameterName = FormatParameterName(name); + parameter.SourceColumn = name; + parameter.DbType = DbType.DateTimeOffset; + parameter.Value = value ?? DBNull.Value; + return parameter; } else if (type == typeof(TimeSpan)) { var parameter = Factory.CreateParameter()!; parameter.ParameterName = FormatParameterName(name); parameter.SourceColumn = name; - parameter.DbType = DbType.Time; + parameter.DbType = DbType.Object; parameter.Value = value ?? DBNull.Value; return parameter; } + if (value is DateTime { Kind: DateTimeKind.Local } local) value = DateTime.SpecifyKind(local, DateTimeKind.Unspecified); var result = base.CreateParameter(name, value, type); + if (type == typeof(DateTime)) result.DbType = DbType.DateTime2; if (value == null || value == DBNull.Value) result.Value = DBNull.Value; return result; } @@ -221,14 +201,8 @@ public override IDataParameter CreateParameter(String name, Object? value, Type? public override String? BuildDeleteSql(String tableName, String where, Int32 batchSize) { if (batchSize <= 0) return base.BuildDeleteSql(tableName, where, batchSize); - var name = tableName.Trim('"').Replace("\"\"", "\""); - var table = ((SonnetDBMetaData)CreateMetaData()).FindTable(name); - if (table == null || table.PrimaryKeys.Length != 1) - throw new NotSupportedException(L.T("Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.")); - var primaryKey = FormatName(table.PrimaryKeys[0]); var condition = String.IsNullOrWhiteSpace(where) ? String.Empty : " WHERE " + where; - var tableSql = FormatName(tableName); - return $"DELETE FROM {tableSql} WHERE {primaryKey} IN (SELECT {primaryKey} FROM {tableSql}{condition} LIMIT {batchSize})"; + return $"DELETE FROM {FormatName(tableName)}{condition} LIMIT {batchSize}"; } } @@ -237,6 +211,39 @@ internal class SonnetDBSession : RemoteDbSession { public SonnetDBSession(IDatabase database) : base(database) { } + // 普通读取使用既有会话扩展点,保留数值NULL,不修改共享DbSession。 + protected override DbTable OnFill(DbDataReader reader) + { + var result = new DbTable(); + result.ReadHeader(reader); + while (reader.Read()) result.Rows.Add(ReadNullableRow(reader)); + result.Total = result.Rows.Count; + return result; + } + + /// + public override async Task QueryAsync(String sql, IDataParameter[]? ps) + { + using var cmd = OnCreateCommand(sql, CommandType.Text, ps); + return await ExecuteAsync(cmd, true, async command => + { + using var reader = await command.ExecuteReaderAsync().ConfigureAwait(false); + var result = new DbTable(); + result.ReadHeader(reader); + while (await reader.ReadAsync().ConfigureAwait(false)) result.Rows.Add(ReadNullableRow(reader)); + result.Total = result.Rows.Count; + return result; + }).ConfigureAwait(false); + } + + internal static Object?[] ReadNullableRow(DbDataReader reader) + { + var row = new Object?[reader.FieldCount]; + for (var i = 0; i < row.Length; i++) row[i] = reader.IsDBNull(i) ? null : reader.GetValue(i); + return row; + } + + /// [UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "SonnetDB驱动不提供DataAdapter,采用DataReader装配单结果集;仅在裁剪下需要DataTable相关成员,数据库访问本身依赖运行时驱动加载,不承诺裁剪后可用")] public override DataSet Query(DbCommand cmd) => Execute(cmd, true, command => @@ -252,8 +259,8 @@ public override DataSet Query(DbCommand cmd) => Execute(cmd, true, command => /// public override Int32 BeginTransaction(IsolationLevel level) { - if (level != IsolationLevel.Unspecified && level != IsolationLevel.ReadCommitted) - throw new NotSupportedException(L.T("SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.")); + if (level != IsolationLevel.Unspecified && level != IsolationLevel.ReadCommitted && level != IsolationLevel.Serializable) + throw new NotSupportedException(L.T("SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.")); return base.BeginTransaction(level); } @@ -310,12 +317,12 @@ private static Int32 IdentityOrdinal(DbDataReader reader) public override Int32 InsertIgnore(IDataTable table, IDataColumn[] columns, IEnumerable list) => ExecuteBatch(table, columns, list, null, null, true); /// - public override Int32 Replace(IDataTable table, IDataColumn[] columns, IEnumerable list) => throw new NotSupportedException(L.T("SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.")); + public override Int32 Replace(IDataTable table, IDataColumn[] columns, IEnumerable list) => ExecuteBatch(table, columns, list, null, null, false, true); /// public override Int32 Upsert(IDataTable table, IDataColumn[] columns, ICollection? updateColumns, ICollection? addColumns, IEnumerable list) => ExecuteBatch(table, columns, list, updateColumns, addColumns, false); - private Int32 ExecuteBatch(IDataTable table, IDataColumn[] columns, IEnumerable list, ICollection? updateColumns, ICollection? addColumns, Boolean ignore) + private Int32 ExecuteBatch(IDataTable table, IDataColumn[] columns, IEnumerable list, ICollection? updateColumns, ICollection? addColumns, Boolean ignore, Boolean replace = false) { var rows = list.ToArray(); if (rows.Length == 0) return 0; @@ -324,7 +331,7 @@ private Int32 ExecuteBatch(IDataTable table, IDataColumn[] columns, IEnumerable< var db = (SonnetDB)Database; var sql = new StringBuilder(); - sql.Append("INSERT INTO ").Append(db.FormatName(table)).Append('(').Append(String.Join(",", columns.Select(db.FormatName))).Append(") VALUES "); + sql.Append(replace ? "REPLACE INTO " : "INSERT INTO ").Append(db.FormatName(table)).Append('(').Append(String.Join(",", columns.Select(db.FormatName))).Append(") VALUES "); var parameters = new List(rows.Length * columns.Length); for (var rowIndex = 0; rowIndex < rows.Length; rowIndex++) { @@ -371,15 +378,13 @@ private Int32 ExecuteBatch(IDataTable table, IDataColumn[] columns, IEnumerable< /// 读取SonnetDB原生关系表元数据并生成建模SQL。 internal class SonnetDBMetaData : RemoteDbMetaData { - private readonly HashSet _reportedLengths = new(StringComparer.Ordinal); - public SonnetDBMetaData() => Types = new Dictionary { [typeof(Int64)] = ["INT"], [typeof(Int32)] = ["INT"], [typeof(Int16)] = ["INT"], [typeof(Byte)] = ["INT"], [typeof(SByte)] = ["INT"], [typeof(UInt16)] = ["INT"], [typeof(UInt32)] = ["INT"], [typeof(UInt64)] = ["INT"], [typeof(Double)] = ["FLOAT"], [typeof(Single)] = ["FLOAT"], [typeof(Decimal)] = ["DECIMAL"], [typeof(Boolean)] = ["BOOL"], [typeof(String)] = ["STRING"], [typeof(Guid)] = ["STRING"], [typeof(Char)] = ["STRING"], - [typeof(DateTime)] = ["DATETIME"], [typeof(DateTimeOffset)] = ["DATETIME"], [typeof(TimeSpan)] = ["TIME"], [typeof(Byte[])] = ["BLOB"], + [typeof(DateTime)] = ["DATETIME2"], [typeof(DateTimeOffset)] = ["DATETIMEOFFSET"], [typeof(TimeSpan)] = ["DURATION"], [typeof(Byte[])] = ["BLOB"], }; /// @@ -403,6 +408,7 @@ protected override List OnGetTables(String[]? names) table.TableName = name; table.DbType = Database.Type; table.IsView = (String)row["TABLE_TYPE"] != "BASE TABLE"; + if (tables.Columns.Contains("REMARKS") && !row.IsNull("REMARKS")) table.Description = (String)row["REMARKS"]; foreach (var item in columns.Rows.Cast().Where(column => (String)column["TABLE_NAME"] == name).OrderBy(column => (Int32)column["ORDINAL_POSITION"])) { var column = table.CreateColumn(); @@ -413,9 +419,10 @@ protected override List OnGetTables(String[]? names) column.PrimaryKey = (Boolean)item["IS_PRIMARY_KEY"]; column.Nullable = (Boolean)item["IS_NULLABLE"]; column.DefaultValue = item.IsNull("COLUMN_DEFAULT") ? null : (String)item["COLUMN_DEFAULT"]; - column.Length = Math.Max(0, Convert.ToInt32(item["CHARACTER_MAXIMUM_LENGTH"], CultureInfo.InvariantCulture)); - column.Precision = Convert.ToInt32(item["NUMERIC_PRECISION"], CultureInfo.InvariantCulture); - column.Scale = Convert.ToInt32(item["NUMERIC_SCALE"], CultureInfo.InvariantCulture); + if (columns.Columns.Contains("REMARKS") && !item.IsNull("REMARKS")) column.Description = (String)item["REMARKS"]; + column.Length = item.IsNull("CHARACTER_MAXIMUM_LENGTH") ? 0 : Math.Max(0, Convert.ToInt32(item["CHARACTER_MAXIMUM_LENGTH"], CultureInfo.InvariantCulture)); + column.Precision = item.IsNull("NUMERIC_PRECISION") ? 0 : Convert.ToInt32(item["NUMERIC_PRECISION"], CultureInfo.InvariantCulture); + column.Scale = item.IsNull("NUMERIC_SCALE") ? 0 : Convert.ToInt32(item["NUMERIC_SCALE"], CultureInfo.InvariantCulture); column.Fix(); table.Columns.Add(column); } @@ -450,13 +457,16 @@ private void ReadViewColumns(IDataTable table) column.ColumnName = (String)row[SchemaTableColumn.ColumnName]; column.DataType = (Type)row[SchemaTableColumn.DataType]; if (column.DataType.FullName == "System.TimeOnly") column.DataType = typeof(TimeSpan); - column.RawType = GetFieldType(column) ?? throw new NotSupportedException(L.T("SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.", table.TableName, column.ColumnName)); + if (column.DataType == typeof(Object) || row.IsNull(SchemaTableColumn.AllowDBNull)) + throw new NotSupportedException(L.T("SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.", table.TableName, column.ColumnName)); column.Nullable = (Boolean)row[SchemaTableColumn.AllowDBNull]; column.PrimaryKey = (Boolean)row[SchemaTableColumn.IsKey]; column.Identity = (Boolean)row[SchemaTableOptionalColumn.IsAutoIncrement]; - column.Length = Math.Max(0, Convert.ToInt32(row[SchemaTableColumn.ColumnSize], CultureInfo.InvariantCulture)); - column.Precision = Convert.ToInt32(row[SchemaTableColumn.NumericPrecision], CultureInfo.InvariantCulture); - column.Scale = Convert.ToInt32(row[SchemaTableColumn.NumericScale], CultureInfo.InvariantCulture); + // ADO.NET 以 DBNull 表示未知长度/精度;XCode 以 0 保存未声明值,不能伪造上限。 + column.Length = row.IsNull(SchemaTableColumn.ColumnSize) ? 0 : Math.Max(0, Convert.ToInt32(row[SchemaTableColumn.ColumnSize], CultureInfo.InvariantCulture)); + column.Precision = row.IsNull(SchemaTableColumn.NumericPrecision) ? 0 : Convert.ToInt32(row[SchemaTableColumn.NumericPrecision], CultureInfo.InvariantCulture); + column.Scale = row.IsNull(SchemaTableColumn.NumericScale) ? 0 : Convert.ToInt32(row[SchemaTableColumn.NumericScale], CultureInfo.InvariantCulture); + column.RawType = GetFieldType(column) ?? throw new NotSupportedException(L.T("SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.", table.TableName, column.ColumnName)); column.Fix(); table.Columns.Add(column); } @@ -467,6 +477,7 @@ private void ReadViewColumns(IDataTable table) protected override String? GetFieldType(IDataColumn field) { if (field.RawType?.Equals("JSON", StringComparison.OrdinalIgnoreCase) == true && field.Table.DbType == Database.Type) return "JSON"; + if (field.DataType == typeof(String) && field.Length > 0 && field.Length < Int32.MaxValue) return $"STRING({field.Length})"; if (field.DataType == typeof(Decimal) && field.Precision > 0) return $"DECIMAL({field.Precision},{field.Scale})"; return base.GetFieldType(field); } @@ -474,8 +485,7 @@ private void ReadViewColumns(IDataTable table) protected override Boolean IsColumnTypeChanged(IDataColumn entityColumn, IDataColumn dbColumn) => !String.Equals(GetFieldType(entityColumn), GetFieldType(dbColumn), StringComparison.OrdinalIgnoreCase); protected override Boolean IsColumnLengthChanged(IDataColumn entityColumn, IDataColumn dbColumn, IDatabase? entityDb) { - ReportLength(entityColumn); - return false; + return entityColumn.DataType == typeof(String) && entityColumn.Length != dbColumn.Length; } protected override Boolean IsColumnChanged(IDataColumn entityColumn, IDataColumn dbColumn, IDatabase? entityDb) { @@ -491,21 +501,12 @@ protected override Boolean IsColumnChanged(IDataColumn entityColumn, IDataColumn /// public override String FieldClause(IDataColumn field, Boolean onlyDefine) { - ReportLength(field); - CheckDefaultValue(field); var sql = $"{FormatName(field)} {GetFieldType(field) ?? throw new NotSupportedException(L.T("SonnetDB does not support field type {0}.", field.DataType))}"; if (field.Identity) return sql + " AUTO_INCREMENT"; sql += field.Nullable && !field.PrimaryKey ? " NULL" : " NOT NULL"; return sql + GetDefault(field, onlyDefine); } - private void ReportLength(IDataColumn field) - { - if (field.DataType == typeof(String) && field.Length > 0 && field.Length < Int32.MaxValue - && _reportedLengths.Add($"{field.Table.TableName}.{field.ColumnName}:{field.Length}")) - WriteLog("[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.", field.Table.TableName, field.ColumnName, field.Length); - } - protected override String? GetDefault(IDataColumn field, Boolean onlyDefine) { if (field.Identity) return null; @@ -515,37 +516,21 @@ private void ReportLength(IDataColumn field) if ((field.DataType == typeof(DateTime) || field.DataType == typeof(DateTimeOffset) || field.DataType == typeof(TimeSpan)) && !value.StartsWith("'") && value.IndexOf('(') < 0) value = SonnetDB.Quote(value); + if (field.DataType == typeof(DateTime)) value = "CAST(" + value + " AS DATETIME2)"; + else if (field.DataType == typeof(DateTimeOffset)) value = "CAST(" + value + " AS DATETIMEOFFSET)"; + else if (field.DataType == typeof(TimeSpan)) value = "CAST(" + value + " AS DURATION)"; return " DEFAULT " + value; } if (field.Nullable) return null; if (field.DataType == typeof(String) || field.DataType == typeof(Guid)) return " DEFAULT ''"; if (field.DataType == typeof(Boolean)) return " DEFAULT FALSE"; - if (field.DataType == typeof(DateTime) || field.DataType == typeof(DateTimeOffset)) return " DEFAULT '0001-01-01T00:00:00'"; - if (field.DataType == typeof(TimeSpan)) return " DEFAULT '00:00:00'"; + if (field.DataType == typeof(DateTime)) return " DEFAULT CAST('0001-01-01T00:00:00' AS DATETIME2)"; + if (field.DataType == typeof(DateTimeOffset)) return " DEFAULT CAST('0001-01-01T00:00:00+00:00' AS DATETIMEOFFSET)"; + if (field.DataType == typeof(TimeSpan)) return " DEFAULT CAST('00:00:00' AS DURATION)"; if (field.DataType.IsEnum || field.DataType == typeof(Decimal) || field.DataType == typeof(Double) || field.DataType == typeof(Single) || field.DataType == typeof(Int64) || field.DataType == typeof(Int32) || field.DataType == typeof(Int16) || field.DataType == typeof(Byte) || field.DataType == typeof(SByte) || field.DataType == typeof(UInt16) || field.DataType == typeof(UInt32) || field.DataType == typeof(UInt64)) return " DEFAULT 0"; return null; } - /// 校验字面量默认值,拒绝数据库无法保真的高精度值 - private static void CheckDefaultValue(IDataColumn field) - { - var value = field.DefaultValue; - if (value.IsNullOrEmpty() || value.IndexOf('(') >= 0) return; - - var text = value.Trim(); - if (text.Length >= 2 && text[0] == '\'' && text[^1] == '\'') text = text[1..^1].Replace("''", "'"); - if (text.Length == 0) return; - - if (field.DataType == typeof(DateTime) || field.DataType == typeof(DateTimeOffset)) - { - if (DateTime.TryParse(text, CultureInfo.InvariantCulture, DateTimeStyles.None, out var time)) SonnetDB.CheckTime(time.Ticks); - } - else if (field.DataType == typeof(Decimal)) - { - if (Decimal.TryParse(text, NumberStyles.Number, CultureInfo.InvariantCulture, out var number)) SonnetDB.CheckValue(number, typeof(Decimal)); - } - } - /// public override String CreateTableSQL(IDataTable table) { @@ -557,12 +542,6 @@ public override String CreateTableSQL(IDataTable table) /// public override String? AlterColumnSQL(IDataColumn field, IDataColumn? oldfield) { - // 数据库的STRING长度元数据不可用(Int32.MaxValue)时不算长度变更,模型Length未变时仍允许修改可空性与默认值 - if (oldfield != null && field.DataType == typeof(String) && field.Length > 0 && field.Length < Int32.MaxValue - && oldfield.Length > 0 && oldfield.Length < Int32.MaxValue && field.Length != oldfield.Length) - throw new NotSupportedException(L.T("SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.")); - CheckDecimalMigration(field); - CheckDefaultValue(field); if (oldfield != null && (field.Identity != oldfield.Identity || field.PrimaryKey != oldfield.PrimaryKey)) throw new NotSupportedException(L.T("Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.")); var sql = $"ALTER TABLE {FormatName(field.Table)} ALTER COLUMN {FormatName(field)} TYPE {GetFieldType(field)}"; @@ -578,16 +557,9 @@ public override String CreateTableSQL(IDataTable table) /// public override String? AddColumnSQL(IDataColumn field) { - CheckDecimalMigration(field); return base.AddColumnSQL(field); } - private static void CheckDecimalMigration(IDataColumn field) - { - if (field.DataType == typeof(Decimal) && field.Precision > 0 && (field.Precision != 38 || field.Scale != 28)) - throw new NotSupportedException(L.T("SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.")); - } - /// public override String? CreateIndexSQL(IDataIndex index) => $"CREATE {(index.Unique ? "UNIQUE " : String.Empty)}INDEX {Database.FormatName(index.Name!)} ON {FormatIndexTable(index.Table)} ({String.Join(",", index.Table.GetColumns(index.Columns).Select(FormatName))})"; @@ -647,23 +619,16 @@ public override Boolean DropDatabase(String databaseName) public override String DropDatabaseSQL(String dbname) => $"DROP DATABASE {Database.FormatName(dbname)}"; /// - public override String? AddTableDescriptionSQL(IDataTable table) => throw CommentsUnsupported(); + public override String? AddTableDescriptionSQL(IDataTable table) => $"COMMENT ON TABLE {FormatName(table)} IS {SonnetDB.Quote(table.Description ?? String.Empty)}"; /// - public override String? DropTableDescriptionSQL(IDataTable table) => throw CommentsUnsupported(); + public override String? DropTableDescriptionSQL(IDataTable table) => $"COMMENT ON TABLE {FormatName(table)} IS NULL"; /// - public override String? AddColumnDescriptionSQL(IDataColumn field) => throw CommentsUnsupported(); + public override String? AddColumnDescriptionSQL(IDataColumn field) => $"COMMENT ON COLUMN {FormatName(field.Table)}.{FormatName(field)} IS {SonnetDB.Quote(field.Description ?? String.Empty)}"; /// - public override String? DropColumnDescriptionSQL(IDataColumn field) => throw CommentsUnsupported(); - - private static NotSupportedException CommentsUnsupported() => new(L.T("SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.")); + public override String? DropColumnDescriptionSQL(IDataColumn field) => $"COMMENT ON COLUMN {FormatName(field.Table)}.{FormatName(field)} IS NULL"; protected override Boolean PerformSchema(StringBuilder sb, Boolean onlySql, DDLSchema schema, params Object[] values) { - if (schema is DDLSchema.AddTableDescription or DDLSchema.DropTableDescription or DDLSchema.AddColumnDescription or DDLSchema.DropColumnDescription) - { - WriteLog("[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.", schema); - return false; - } return base.PerformSchema(sb, onlySql, schema, values); } } diff --git a/XCode/DataAccessLayer/Database/SonnetDBPackage.cs b/XCode/DataAccessLayer/Database/SonnetDBPackage.cs new file mode 100644 index 000000000..1b9086134 --- /dev/null +++ b/XCode/DataAccessLayer/Database/SonnetDBPackage.cs @@ -0,0 +1,37 @@ +using System.Data; +using System.Threading; +using NewLife.Data; + +namespace XCode.DataAccessLayer; + +/// 涉及SonnetDB的显式数据迁移,保留来源中的SQL NULL;普通DbPackage和DAL读取合同不变。 +public class SonnetDBPackage : DbPackage +{ + /// 创建保留SQL NULL的迁移数据包,使用内置ID、时间或分页抽取算法。 + public SonnetDBPackage() => QueryCallback = ReadPage; + + private static DbTable ReadPage(DAL source, SelectBuilder builder, Int64 row, Int64 size, CancellationToken cancellationToken) + { + if (size <= 0) throw new ArgumentOutOfRangeException(nameof(size)); + cancellationToken.ThrowIfCancellationRequested(); + using var connection = source.Db.Factory.CreateConnection()!; + connection.ConnectionString = source.Db.ConnectionString; + connection.Open(); + using var command = connection.CreateCommand(); + command.CommandType = CommandType.Text; + command.CommandText = source.PageSplit(builder.Clone(), row, size).ToString(); + command.CommandTimeout = source.Db.CommandTimeout > 0 ? source.Db.CommandTimeout : 30; + command.Parameters.AddRange(builder.Parameters.ToArray()); + using var reader = command.ExecuteReader(); + var result = new DbTable(); + result.ReadHeader(reader); + for (Int64 i = 0; i < size && reader.Read(); i++) + { + cancellationToken.ThrowIfCancellationRequested(); + result.Rows.Add(SonnetDBSession.ReadNullableRow(reader)); + } + cancellationToken.ThrowIfCancellationRequested(); + result.Total = result.Rows.Count; + return result; + } +} diff --git a/XCode/Locales/ar.yml b/XCode/Locales/ar.yml index dfa004007..be69eaefd 100644 --- a/XCode/Locales/ar.yml +++ b/XCode/Locales/ar.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "لا يدعم InfluxDB إنشاء الدلاء عبر SQL. استخدم HTTP API أو CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "لا يدعم InfluxDB حذف الدلاء عبر SQL. استخدم HTTP API أو CLI." "InfluxDB does not support altering columns.": "لا يدعم InfluxDB تغيير الأعمدة." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "لا يمكن أن يتجاوز SonnetDB LIMIT/OFFSET حاليًا Int32.MaxValue. راجع SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "لا يمكن لـ SonnetDB 4.0.0 الحفاظ على قيمة Decimal هذه بدقة ورفض الكتابة. راجع SonnetDB issue #235؛ لا يزال دعم معلمات decimal الدقيقة بحاجة إلى التنفيذ والإصدار." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "يستخدم SonnetDB INT نوع Int64 الموقّع ويدعم فقط قيم UInt64 حتى Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "يمكن لـ SonnetDB 4.0.0 DATETIME الحفاظ على دقة المللي ثانية فقط ورفض الأوقات الأقل من مللي ثانية. راجع SonnetDB issue #236؛ لا يزال دعم دقة الوقت الكامل بحاجة إلى التنفيذ والإصدار." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "يتطلب الحذف المجمّع المحدود في SonnetDB حاليًا مفتاحًا أساسيًا بعمود واحد؛ لا يمكن للجداول ذات المفتاح الأساسي المركب أو بدون مفتاح أساسي الرجوع إلى الحذف غير المحدود. راجع SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "لا يوفر SonnetDB بعد الدلالات الكاملة لمستوى عزل المعاملة هذا؛ استخدم ReadCommitted. راجع SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "لا تحدد نتيجة SonnetDB أعمدة الهوية، لذا لا يمكن الحصول على الرقم المُنشأ بأمان. قم بالترقية إلى إصدار SonnetDB يتضمن بيانات وصفية لأعمدة RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "لا يدعم SonnetDB بعد دلالات Replace المتمثلة في حذف الصفوف المتعارضة ثم إدراج صفوف جديدة. راجع SonnetDB issue #242." "Bulk write must contain at least one field.": "يجب أن تحتوي الكتابة المجمّعة على حقل واحد على الأقل." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "يتطلب SonnetDB Upsert مفتاحًا أساسيًا أو هدف تعارض فهرس فريد كامل." "SonnetDB field type has not been mapped: {0}": "لم يتم تعيين نوع حقل SonnetDB: {0}" "SonnetDB view [{0}] did not provide field metadata.": "لم يوفر عرض SonnetDB [{0}] بيانات وصفية للحقول." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "لم يوفر الحقل [{1}] في عرض SonnetDB [{0}] نوعًا معلنًا قابلًا للتعيين. راجع SonnetDB issue #261؛ لا تزال البيانات الوصفية لإعلان العرض بحاجة إلى الإكمال والإصدار." "SonnetDB does not support field type {0}.": "لا يدعم SonnetDB نوع الحقل {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "لا يدعم SonnetDB STRING بعد تغيير قيود الطول. راجع SonnetDB issue #240؛ لا تزال الميزة بحاجة إلى التنفيذ والإصدار." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "يتطلب تغيير الهوية أو المفتاح الأساسي للأعمدة الموجودة في SonnetDB ترحيلًا منفصلًا ولا يمكن إجراؤه عبر ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "سيؤدي SonnetDB 4.0.0 DECIMAL ADD/ALTER إلى فقدان الدقة الصريحة وتم رفضه للحفاظ على دلالات النموذج. راجع SonnetDB issue #241؛ لا يزال بحاجة إلى الإصلاح والإصدار." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "ينشئ SonnetDB المضمّن قواعد البيانات عبر دليل Data Source؛ قم بتكوين اتصال منفصل للدليل الهدف." "Embedded SonnetDB does not support deleting the database directory via SQL.": "لا يدعم SonnetDB المضمّن حذف دليل قاعدة البيانات عبر SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "لا يدعم SonnetDB بعد استمرار تعليقات الجداول والأعمدة. راجع SonnetDB issue #237؛ يجب تنفيذ الميزة وإصدارها." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] يعلن الحقل {0}.{1} عن الطول {2}، لكن STRING لا يدعم حاليًا قيود الطول؛ معلّق، راجع SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] غير مكتمل {0}: استمرار تعليقات الجداول والأعمدة غير مدعوم بعد؛ يجب على SonnetDB تنفيذه وإصداره، راجع issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "لا يدعم برنامج تشغيل SQLite الحالي BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "تتطلب خوارزمية الترحيل عمود فرز! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]مسار بحث VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "دقيقة" "实体缓存": "ذاكرة كيانات مؤقتة" "统计字段": "حقل الإحصاءات" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "يدعم SonnetDB مستويي عزل المعاملات ReadCommitted وSerializable؛ وتتطلب المستويات الأخرى تعيينًا مدعومًا وصريحًا." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "لم يوفر الحقل [{1}] في عرض SonnetDB [{0}] نوعًا معلنًا قابلًا للتعيين. راجع SonnetDB issue #261. يجب أيضًا التصريح بقابلية قبول NULL؛ لا تستنتج النوع أو قابلية NULL من الصف الأول." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "لم يوفر الحقل [{1}] في عرض SonnetDB [{0}] نوعًا معلنًا قابلًا للتعيين. راجع SonnetDB issue #261." diff --git a/XCode/Locales/bn.yml b/XCode/Locales/bn.yml index 1cea15b9c..45573e119 100644 --- a/XCode/Locales/bn.yml +++ b/XCode/Locales/bn.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB SQL-এর মাধ্যমে বাকেট তৈরি সমর্থন করে না। HTTP API বা CLI ব্যবহার করুন।" "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB SQL-এর মাধ্যমে বাকেট মুছে ফেলা সমর্থন করে না। HTTP API বা CLI ব্যবহার করুন।" "InfluxDB does not support altering columns.": "InfluxDB কলাম পরিবর্তন সমর্থন করে না।" -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET বর্তমানে Int32.MaxValue অতিক্রম করতে পারে না। SonnetDB issue #256 দেখুন।" -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 এই Decimal মানটি সঠিকভাবে সংরক্ষণ করতে পারে না এবং লেখা প্রত্যাখ্যান করেছে। SonnetDB issue #235 দেখুন; সঠিক decimal প্যারামিটার সমর্থন এখনও বাস্তবায়ন ও প্রকাশ করতে হবে।" "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT স্বাক্ষরিত Int64 ব্যবহার করে এবং শুধুমাত্র Int64.MaxValue পর্যন্ত UInt64 মান সমর্থন করে।" -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME শুধুমাত্র মিলিসেকেন্ড নির্ভুলতা সংরক্ষণ করতে পারে এবং এক মিলিসেকেন্ডের কম সময় প্রত্যাখ্যান করেছে। SonnetDB issue #236 দেখুন; সম্পূর্ণ সময় নির্ভুলতা সমর্থন এখনও বাস্তবায়ন ও প্রকাশ করতে হবে।" -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB-এ সীমিত বাল্ক মুছে ফেলার জন্য বর্তমানে একক-কলাম প্রাথমিক কী প্রয়োজন; যৌগিক প্রাথমিক কী বা প্রাথমিক কী ছাড়া টেবিল সীমাহীন মুছে ফেলায় ফিরে যেতে পারে না। SonnetDB issue #243 দেখুন।" -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB এখনও এই লেনদেন বিচ্ছিন্নতা স্তরের সম্পূর্ণ অর্থ প্রদান করে না; ReadCommitted ব্যবহার করুন। SonnetDB issue #225 দেখুন।" "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB ফলাফল পরিচয় কলাম সনাক্ত করে না, তাই তৈরি করা নম্বর নিরাপদে পাওয়া যায় না। RETURNING কলাম মেটাডেটা সহ SonnetDB সংস্করণে আপগ্রেড করুন।" -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB এখনও Replace অর্থ সমর্থন করে না যেখানে বিরোধপূর্ণ সারি মুছে নতুন সারি সন্নিবেশ করা হয়। SonnetDB issue #242 দেখুন।" "Bulk write must contain at least one field.": "বাল্ক লেখায় অন্তত একটি ফিল্ড থাকতে হবে।" "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert-এর জন্য প্রাথমিক কী বা সম্পূর্ণ অনন্য-সূচক দ্বন্দ্ব লক্ষ্য প্রয়োজন।" "SonnetDB field type has not been mapped: {0}": "SonnetDB ফিল্ড প্রকার ম্যাপ করা হয়নি: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB ভিউ [{0}] কোনো ফিল্ড মেটাডেটা প্রদান করেনি।" -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB ভিউ [{0}]-এর ফিল্ড [{1}] ম্যাপযোগ্য ঘোষিত প্রকার প্রদান করেনি। SonnetDB issue #261 দেখুন; ভিউ ঘোষণা মেটাডেটা এখনও সম্পূর্ণ ও প্রকাশ করতে হবে।" "SonnetDB does not support field type {0}.": "SonnetDB ফিল্ড প্রকার {0} সমর্থন করে না।" -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING এখনও দৈর্ঘ্য সীমাবদ্ধতা পরিবর্তন সমর্থন করে না। SonnetDB issue #240 দেখুন; ক্ষমতাটি এখনও বাস্তবায়ন ও প্রকাশ করতে হবে।" "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "বিদ্যমান SonnetDB কলামে পরিচয় বা প্রাথমিক কী পরিবর্তনের জন্য আলাদা মাইগ্রেশন প্রয়োজন এবং ALTER COLUMN-এর মাধ্যমে করা যায় না।" -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER স্পষ্ট নির্ভুলতা হারাবে এবং মডেলের অর্থ সংরক্ষণের জন্য প্রত্যাখ্যান করা হয়েছে। SonnetDB issue #241 দেখুন; এটি এখনও সংশোধন ও প্রকাশ করতে হবে।" "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "এমবেডেড SonnetDB Data Source ডিরেক্টরির মাধ্যমে ডেটাবেস তৈরি করে; লক্ষ্য ডিরেক্টরির জন্য আলাদা সংযোগ কনফিগার করুন।" "Embedded SonnetDB does not support deleting the database directory via SQL.": "এমবেডেড SonnetDB SQL-এর মাধ্যমে ডেটাবেস ডিরেক্টরি মুছে ফেলা সমর্থন করে না।" -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB এখনও টেবিল ও কলাম মন্তব্য স্থায়ীভাবে সংরক্ষণ সমর্থন করে না। SonnetDB issue #237 দেখুন; ক্ষমতাটি বাস্তবায়ন ও প্রকাশ করতে হবে।" -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] ফিল্ড {0}.{1} দৈর্ঘ্য {2} ঘোষণা করে, কিন্তু STRING বর্তমানে দৈর্ঘ্য সীমাবদ্ধতা সমর্থন করে না; মুলতুবি, SonnetDB issue #240 দেখুন।" -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] অসম্পূর্ণ {0}: টেবিল ও কলাম মন্তব্য স্থায়ী সংরক্ষণ এখনও সমর্থিত নয়; SonnetDB-কে এটি বাস্তবায়ন ও প্রকাশ করতে হবে, issue #237 দেখুন।" "The current SQLite driver does not support BackupDatabase: {0}": "বর্তমান SQLite ড্রাইভার BackupDatabase সমর্থন করে না: {0}" "The paging algorithm requires a sort column! {0}": "পেজিং অ্যালগরিদমের জন্য একটি সাজানোর কলাম প্রয়োজন! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase অনুসন্ধান পথ (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "মিনিট" "实体缓存": "এন্টিটি ক্যাশ" "统计字段": "পরিসংখ্যান ক্ষেত্র" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB ReadCommitted এবং Serializable লেনদেন বিচ্ছিন্নতা স্তর সমর্থন করে; অন্য স্তরের জন্য স্পষ্ট সমর্থিত ম্যাপিং প্রয়োজন।" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB ভিউ [{0}]-এর ফিল্ড [{1}] ম্যাপযোগ্য ঘোষিত প্রকার প্রদান করেনি। SonnetDB issue #261. ঘোষিত NULL গ্রহণযোগ্যতাও প্রয়োজন; প্রথম সারি থেকে ধরন বা NULL গ্রহণযোগ্যতা অনুমান করবেন না।" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB ভিউ [{0}]-এর ফিল্ড [{1}] ম্যাপযোগ্য ঘোষিত প্রকার প্রদান করেনি। SonnetDB issue #261." diff --git a/XCode/Locales/cs.yml b/XCode/Locales/cs.yml index 565c51e25..134beb868 100644 --- a/XCode/Locales/cs.yml +++ b/XCode/Locales/cs.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB nepodporuje vytváření bucketů přes SQL. Použijte HTTP API nebo CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB nepodporuje mazání bucketů přes SQL. Použijte HTTP API nebo CLI." "InfluxDB does not support altering columns.": "InfluxDB nepodporuje změnu sloupců." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET v současnosti nemůže překročit Int32.MaxValue. Viz SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 nemůže tuto hodnotu Decimal přesně zachovat a zápis odmítl. Viz SonnetDB issue #235; podpora přesných parametrů decimal stále musí být implementována a vydána." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT používá znaménkový Int64 a podporuje pouze hodnoty UInt64 do Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME může zachovat pouze přesnost na milisekundy a odmítl časy pod jednu milisekundu. Viz SonnetDB issue #236; plná podpora přesnosti času stále musí být implementována a vydána." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Omezené hromadné mazání v SonnetDB v současnosti vyžaduje jednosloupcový primární klíč; tabulky se složeným primárním klíčem nebo bez primárního klíče nemohou přejít na neomezené mazání. Viz SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB zatím neposkytuje úplnou sémantiku této úrovně izolace transakcí; použijte ReadCommitted. Viz SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Výsledek SonnetDB neidentifikuje sloupce identity, takže vygenerované číslo nelze bezpečně získat. Upgradujte na verzi SonnetDB, která obsahuje metadata sloupců RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB zatím nepodporuje sémantiku Replace spočívající v odstranění konfliktních řádků a vložení nových. Viz SonnetDB issue #242." "Bulk write must contain at least one field.": "Hromadný zápis musí obsahovat alespoň jedno pole." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert vyžaduje primární klíč nebo úplný cíl konfliktu jedinečného indexu." "SonnetDB field type has not been mapped: {0}": "Typ pole SonnetDB nebyl namapován: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Pohled SonnetDB [{0}] neposkytl metadata polí." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Pole [{1}] pohledu SonnetDB [{0}] neposkytlo mapovatelný deklarovaný typ. Viz SonnetDB issue #261; metadata deklarace pohledu stále musí být dokončena a vydána." "SonnetDB does not support field type {0}.": "SonnetDB nepodporuje typ pole {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING zatím nepodporuje změnu omezení délky. Viz SonnetDB issue #240; funkce stále musí být implementována a vydána." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Změna identity nebo primárního klíče stávajících sloupců SonnetDB vyžaduje samostatnou migraci a nelze ji provést přes ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER by ztratil explicitní přesnost a byl odmítnut, aby se zachovala sémantika modelu. Viz SonnetDB issue #241; stále musí být opraven a vydán." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Vestavěný SonnetDB vytváří databáze prostřednictvím adresáře Data Source; nakonfigurujte samostatné připojení pro cílový adresář." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Vestavěný SonnetDB nepodporuje mazání adresáře databáze přes SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB zatím nepodporuje trvalé ukládání komentářů tabulek a sloupců. Viz SonnetDB issue #237; funkce musí být implementována a vydána." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Pole {0}.{1} deklaruje délku {2}, ale STRING v současnosti nepodporuje omezení délky; čeká na vyřízení, viz SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Nedokončeno {0}: trvalé ukládání komentářů tabulek a sloupců zatím není podporováno; SonnetDB to musí implementovat a vydat, viz issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Současný ovladač SQLite nepodporuje BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Algoritmus stránkování vyžaduje sloupec pro řazení! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Cesta hledání VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuta" "实体缓存": "Mezipaměť entit" "统计字段": "Pole statistik" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB podporuje úrovně izolace transakcí ReadCommitted a Serializable; jiné úrovně vyžadují explicitní podporované mapování." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Pole [{1}] pohledu SonnetDB [{0}] neposkytlo mapovatelný deklarovaný typ. Viz SonnetDB issue #261. Je nutná také deklarovaná přípustnost NULL; typ ani přípustnost NULL neodvozujte z prvního řádku." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Pole [{1}] pohledu SonnetDB [{0}] neposkytlo mapovatelný deklarovaný typ. Viz SonnetDB issue #261." diff --git a/XCode/Locales/da.yml b/XCode/Locales/da.yml index 81b3ee0ff..2e1662447 100644 --- a/XCode/Locales/da.yml +++ b/XCode/Locales/da.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB understøtter ikke oprettelse af buckets via SQL. Brug HTTP API eller CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB understøtter ikke sletning af buckets via SQL. Brug HTTP API eller CLI." "InfluxDB does not support altering columns.": "InfluxDB understøtter ikke ændring af kolonner." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET kan i øjeblikket ikke overstige Int32.MaxValue. Se SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 kan ikke bevare denne Decimal-værdi nøjagtigt og afviste skrivningen. Se SonnetDB issue #235; understøttelse af præcise decimal-parametre skal stadig implementeres og udgives." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT bruger signeret Int64 og understøtter kun UInt64-værdier op til Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME kan kun bevare millisekundpræcision og afviste tider under et millisekund. Se SonnetDB issue #236; fuld tidspræcision skal stadig implementeres og udgives." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Begrænset massesletning i SonnetDB kræver i øjeblikket en enkeltkolonne-primærnøgle; tabeller med sammensat eller ingen primærnøgle kan ikke falde tilbage til ubegrænset sletning. Se SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB leverer endnu ikke den fulde semantik for dette transaktionsisoleringsniveau; brug ReadCommitted. Se SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB-resultatet identificerer ikke identitetskolonner, så det genererede nummer kan ikke hentes sikkert. Opgrader til en SonnetDB-version, der inkluderer RETURNING-kolonnenmetadata." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB understøtter endnu ikke Replace-semantikken med at slette modstridende rækker og indsætte nye rækker. Se SonnetDB issue #242." "Bulk write must contain at least one field.": "Masseskrivning skal indeholde mindst ét felt." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert kræver en primærnøgle eller et komplet unikt indekskonfliktmål." "SonnetDB field type has not been mapped: {0}": "SonnetDB-felttypen er ikke tilknyttet: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB-visningen [{0}] gav ikke feltmetadata." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Feltet [{1}] i SonnetDB-visningen [{0}] gav ikke en mapperbar erklæret type. Se SonnetDB issue #261; metadata for visningsdeklarationen skal stadig færdiggøres og udgives." "SonnetDB does not support field type {0}.": "SonnetDB understøtter ikke felttypen {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING understøtter endnu ikke ændring af længdebegrænsninger. Se SonnetDB issue #240; funktionen skal stadig implementeres og udgives." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Ændring af identitet eller primærnøgle på eksisterende SonnetDB-kolonner kræver en separat migrering og kan ikke udføres via ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER ville miste eksplicit præcision og blev afvist for at bevare modelsemantikken. Se SonnetDB issue #241; det skal stadig rettes og udgives." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Indlejret SonnetDB opretter databaser via Data Source-mappen; konfigurer en separat forbindelse til målmappen." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Indlejret SonnetDB understøtter ikke sletning af databasemappen via SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB understøtter endnu ikke lagring af tabel- og kolonnekommentarer. Se SonnetDB issue #237; funktionen skal implementeres og udgives." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Feltet {0}.{1} erklærer længden {2}, men STRING understøtter i øjeblikket ikke længdebegrænsninger; afventer, se SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Uafsluttet {0}: lagring af tabel- og kolonnekommentarer understøttes endnu ikke; SonnetDB skal implementere og udgive det, se issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Den aktuelle SQLite-driver understøtter ikke BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Sideinddelingsalgoritmen kræver en sorteringskolonne! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase-søgesti (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minut" "实体缓存": "Entitetscache" "统计字段": "Statistikfelt" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB understøtter transaktionsisolationsniveauerne ReadCommitted og Serializable; andre niveauer kræver en eksplicit understøttet tilknytning." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Feltet [{1}] i SonnetDB-visningen [{0}] gav ikke en mapperbar erklæret type. Se SonnetDB issue #261. Den erklærede mulighed for NULL er også påkrævet; udled ikke type eller NULL-egenskaber fra den første række." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Feltet [{1}] i SonnetDB-visningen [{0}] gav ikke en mapperbar erklæret type. Se SonnetDB issue #261." diff --git a/XCode/Locales/de.yml b/XCode/Locales/de.yml index 431a37dc4..5c4e4ddfa 100644 --- a/XCode/Locales/de.yml +++ b/XCode/Locales/de.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB unterstützt das Erstellen von Buckets per SQL nicht. Verwenden Sie die HTTP-API oder die CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB unterstützt das Löschen von Buckets per SQL nicht. Verwenden Sie die HTTP-API oder die CLI." "InfluxDB does not support altering columns.": "InfluxDB unterstützt das Ändern von Spalten nicht." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET darf derzeit Int32.MaxValue nicht überschreiten. Siehe SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 kann diesen Decimal-Wert nicht exakt speichern und hat den Schreibvorgang abgelehnt. Siehe SonnetDB issue #235; die Unterstützung präziser decimal-Parameter muss noch implementiert und veröffentlicht werden." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT verwendet ein vorzeichenbehaftetes Int64 und unterstützt nur UInt64-Werte bis Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME kann nur Millisekundengenauigkeit speichern und hat Zeiten unter einer Millisekunde abgelehnt. Siehe SonnetDB issue #236; die vollständige Zeitpräzision muss noch implementiert und veröffentlicht werden." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Das begrenzte Massenlöschen in SonnetDB erfordert derzeit einen einspaltigen Primärschlüssel; Tabellen mit zusammengesetztem oder ohne Primärschlüssel können nicht auf unbegrenztes Löschen zurückfallen. Siehe SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB bietet noch nicht die vollständige Semantik dieser Transaktionsisolationsstufe; verwenden Sie ReadCommitted. Siehe SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Das SonnetDB-Ergebnis kennzeichnet keine Identitätsspalten, sodass die generierte Nummer nicht sicher ermittelt werden kann. Aktualisieren Sie auf eine SonnetDB-Version mit RETURNING-Spaltenmetadaten." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB unterstützt noch nicht die Replace-Semantik, bei der widersprüchliche Zeilen gelöscht und neue Zeilen eingefügt werden. Siehe SonnetDB issue #242." "Bulk write must contain at least one field.": "Der Massenschreibvorgang muss mindestens ein Feld enthalten." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert erfordert einen Primärschlüssel oder ein vollständiges Unique-Index-Konfliktziel." "SonnetDB field type has not been mapped: {0}": "Der SonnetDB-Feldtyp wurde nicht zugeordnet: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Die SonnetDB-Ansicht [{0}] hat keine Feldmetadaten bereitgestellt." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Das Feld [{1}] der SonnetDB-Ansicht [{0}] hat keinen zuordenbaren deklarierten Typ bereitgestellt. Siehe SonnetDB issue #261; die Metadaten der Ansichtsdeklaration müssen noch vervollständigt und veröffentlicht werden." "SonnetDB does not support field type {0}.": "SonnetDB unterstützt den Feldtyp {0} nicht." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING unterstützt noch nicht das Ändern von Längenbeschränkungen. Siehe SonnetDB issue #240; die Funktion muss noch implementiert und veröffentlicht werden." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Das Ändern der Identität oder des Primärschlüssels vorhandener SonnetDB-Spalten erfordert eine separate Migration und kann nicht über ALTER COLUMN erfolgen." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER würde die explizite Genauigkeit verlieren und wurde abgelehnt, um die Modelsemantik zu erhalten. Siehe SonnetDB issue #241; es muss noch behoben und veröffentlicht werden." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Eingebettetes SonnetDB erstellt Datenbanken über das Data-Source-Verzeichnis; konfigurieren Sie eine separate Verbindung für das Zielverzeichnis." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Eingebettetes SonnetDB unterstützt das Löschen des Datenbankverzeichnisses per SQL nicht." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB unterstützt noch nicht das Persistieren von Tabellen- und Spaltenkommentaren. Siehe SonnetDB issue #237; die Funktion muss implementiert und veröffentlicht werden." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Das Feld {0}.{1} deklariert die Länge {2}, aber STRING unterstützt derzeit keine Längenbeschränkungen; ausstehend, siehe SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Unvollständig {0}: Das Persistieren von Tabellen- und Spaltenkommentaren wird noch nicht unterstützt; SonnetDB muss dies implementieren und veröffentlichen, siehe issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Der aktuelle SQLite-Treiber unterstützt BackupDatabase nicht: {0}" "The paging algorithm requires a sort column! {0}": "Der Paging-Algorithmus erfordert eine Sortierspalte! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase-Suchpfad (Schema): {1}" @@ -600,3 +588,6 @@ "entity:XCode.Membership.Parameter": "Wörterbuchparameter" "entity:XCode.Membership.Tenant": "Mieter" "entity:XCode.Membership.TenantUser": "Mandantenbeziehung" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB unterstützt die Transaktionsisolationsstufen ReadCommitted und Serializable; andere Stufen erfordern eine explizite unterstützte Zuordnung." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Das Feld [{1}] der SonnetDB-Ansicht [{0}] hat keinen zuordenbaren deklarierten Typ bereitgestellt. Siehe SonnetDB issue #261. Auch die deklarierte NULL-Zulässigkeit ist erforderlich; Typ und NULL-Zulässigkeit dürfen nicht aus der ersten Zeile abgeleitet werden." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Das Feld [{1}] der SonnetDB-Ansicht [{0}] hat keinen zuordenbaren deklarierten Typ bereitgestellt. Siehe SonnetDB issue #261." diff --git a/XCode/Locales/el.yml b/XCode/Locales/el.yml index 719e037d1..e9ae0a16c 100644 --- a/XCode/Locales/el.yml +++ b/XCode/Locales/el.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "Το InfluxDB δεν υποστηρίζει τη δημιουργία bucket μέσω SQL. Χρησιμοποιήστε HTTP API ή CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "Το InfluxDB δεν υποστηρίζει τη διαγραφή bucket μέσω SQL. Χρησιμοποιήστε HTTP API ή CLI." "InfluxDB does not support altering columns.": "Το InfluxDB δεν υποστηρίζει την τροποποίηση στηλών." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "Το SonnetDB LIMIT/OFFSET επί του παρόντος δεν μπορεί να υπερβεί το Int32.MaxValue. Δείτε SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "Το SonnetDB 4.0.0 δεν μπορεί να διατηρήσει ακριβώς αυτή την τιμή Decimal και απέρριψε την εγγραφή. Δείτε SonnetDB issue #235; η υποστήριξη ακριβών παραμέτρων decimal πρέπει ακόμη να υλοποιηθεί και να κυκλοφορήσει." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "Το SonnetDB INT χρησιμοποιεί προσημασμένο Int64 και υποστηρίζει μόνο τιμές UInt64 έως Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "Το SonnetDB 4.0.0 DATETIME μπορεί να διατηρήσει μόνο ακρίβεια χιλιοστού του δευτερολέπτου και απέρριψε χρόνους μικρότερους του χιλιοστού. Δείτε SonnetDB issue #236; η πλήρης υποστήριξη ακρίβειας χρόνου πρέπει ακόμη να υλοποιηθεί και να κυκλοφορήσει." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Η περιορισμένη μαζική διαγραφή στο SonnetDB απαιτεί επί του παρόντος πρωτεύον κλειδί μίας στήλης; πίνακες με σύνθετο ή χωρίς πρωτεύον κλειδί δεν μπορούν να καταφύγουν σε μη περιορισμένη διαγραφή. Δείτε SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "Το SonnetDB δεν παρέχει ακόμη την πλήρη σημασιολογία αυτού του επιπέδου απομόνωσης συναλλαγών; χρησιμοποιήστε ReadCommitted. Δείτε SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Το αποτέλεσμα SonnetDB δεν αναγνωρίζει στήλες ταυτότητας, επομένως ο παραγόμενος αριθμός δεν μπορεί να ληφθεί με ασφάλεια. Αναβαθμίστε σε έκδοση SonnetDB που περιλαμβάνει μεταδεδομένα στηλών RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "Το SonnetDB δεν υποστηρίζει ακόμη τη σημασιολογία Replace της διαγραφής διενεξιών και εισαγωγής νέων γραμμών. Δείτε SonnetDB issue #242." "Bulk write must contain at least one field.": "Η μαζική εγγραφή πρέπει να περιέχει τουλάχιστον ένα πεδίο." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "Το SonnetDB Upsert απαιτεί πρωτεύον κλειδί ή πλήρη στόχο σύγκρουσης μοναδικού ευρετηρίου." "SonnetDB field type has not been mapped: {0}": "Ο τύπος πεδίου SonnetDB δεν έχει αντιστοιχιστεί: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Η προβολή SonnetDB [{0}] δεν παρείχε μεταδεδομένα πεδίων." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Το πεδίο [{1}] της προβολής SonnetDB [{0}] δεν παρείχε αντιστοιχίσιμο δηλωμένο τύπο. Δείτε SonnetDB issue #261; τα μεταδεδομένα δήλωσης προβολής πρέπει ακόμη να ολοκληρωθούν και να κυκλοφορήσουν." "SonnetDB does not support field type {0}.": "Το SonnetDB δεν υποστηρίζει τον τύπο πεδίου {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "Το SonnetDB STRING δεν υποστηρίζει ακόμη την αλλαγή περιορισμών μήκους. Δείτε SonnetDB issue #240; η δυνατότητα πρέπει ακόμη να υλοποιηθεί και να κυκλοφορήσει." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Η αλλαγή ταυτότητας ή πρωτεύοντος κλειδιού σε υπάρχουσες στήλες SonnetDB απαιτεί ξεχωριστή μετανάστευση και δεν μπορεί να γίνει μέσω ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "Το SonnetDB 4.0.0 DECIMAL ADD/ALTER θα έχανε ρητή ακρίβεια και απορρίφθηκε για να διατηρηθεί η σημασιολογία του μοντέλου. Δείτε SonnetDB issue #241; πρέπει ακόμη να διορθωθεί και να κυκλοφορήσει." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Το ενσωματωμένο SonnetDB δημιουργεί βάσεις δεδομένων μέσω του καταλόγου Data Source; διαμορφώστε ξεχωριστή σύνδεση για τον κατάλογο προορισμού." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Το ενσωματωμένο SonnetDB δεν υποστηρίζει τη διαγραφή του καταλόγου βάσης δεδομένων μέσω SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "Το SonnetDB δεν υποστηρίζει ακόμη τη μόνιμη αποθήκευση σχολίων πίνακα και στηλών. Δείτε SonnetDB issue #237; η δυνατότητα πρέπει να υλοποιηθεί και να κυκλοφορήσει." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Το πεδίο {0}.{1} δηλώνει μήκος {2}, αλλά το STRING επί του παρόντος δεν υποστηρίζει περιορισμούς μήκους; εκκρεμεί, δείτε SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Ημιτελές {0}: η μόνιμη αποθήκευση σχολίων πίνακα και στηλών δεν υποστηρίζεται ακόμη; το SonnetDB πρέπει να το υλοποιήσει και να το κυκλοφορήσει, δείτε issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Το τρέχον πρόγραμμα οδήγησης SQLite δεν υποστηρίζει BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Ο αλγόριθμος σελιδοποίησης απαιτεί στήλη ταξινόμησης! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Διαδρομή αναζήτησης VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Λεπτό" "实体缓存": "Προσωρινή μνήμη οντοτήτων" "统计字段": "Πεδίο στατιστικών" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "Το SonnetDB υποστηρίζει τα επίπεδα απομόνωσης συναλλαγών ReadCommitted και Serializable· τα άλλα επίπεδα απαιτούν ρητή υποστηριζόμενη αντιστοίχιση." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Το πεδίο [{1}] της προβολής SonnetDB [{0}] δεν παρείχε αντιστοιχίσιμο δηλωμένο τύπο. Δείτε SonnetDB issue #261. Απαιτείται επίσης η δηλωμένη δυνατότητα NULL· μην συμπεραίνετε τον τύπο ή τη δυνατότητα NULL από την πρώτη γραμμή." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Το πεδίο [{1}] της προβολής SonnetDB [{0}] δεν παρείχε αντιστοιχίσιμο δηλωμένο τύπο. Δείτε SonnetDB issue #261." diff --git a/XCode/Locales/es.yml b/XCode/Locales/es.yml index 7948457a6..06876c410 100644 --- a/XCode/Locales/es.yml +++ b/XCode/Locales/es.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB no admite la creación de buckets mediante SQL. Use la API HTTP o la CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB no admite la eliminación de buckets mediante SQL. Use la API HTTP o la CLI." "InfluxDB does not support altering columns.": "InfluxDB no admite la modificación de columnas." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET actualmente no puede superar Int32.MaxValue. Consulte SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 no puede conservar exactamente este valor Decimal y rechazó la escritura. Consulte SonnetDB issue #235; aún debe implementarse y publicarse la compatibilidad con parámetros decimales precisos." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT usa Int64 con signo y solo admite valores UInt64 hasta Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME solo puede conservar precisión de milisegundos y rechazó tiempos inferiores a un milisegundo. Consulte SonnetDB issue #236; aún debe implementarse y publicarse la compatibilidad completa con la precisión temporal." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "La eliminación masiva acotada en SonnetDB actualmente requiere una clave principal de una sola columna; las tablas con clave principal compuesta o sin clave principal no pueden recurrir a la eliminación no acotada. Consulte SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB aún no ofrece la semántica completa de este nivel de aislamiento de transacciones; use ReadCommitted. Consulte SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "El resultado de SonnetDB no identifica columnas de identidad, por lo que el número generado no se puede obtener de forma segura. Actualice a una versión de SonnetDB que incluya metadatos de columna RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB aún no admite la semántica Replace de eliminar filas en conflicto e insertar nuevas filas. Consulte SonnetDB issue #242." "Bulk write must contain at least one field.": "La escritura masiva debe contener al menos un campo." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert requiere una clave principal o un destino de conflicto de índice único completo." "SonnetDB field type has not been mapped: {0}": "El tipo de campo de SonnetDB no se ha asignado: {0}" "SonnetDB view [{0}] did not provide field metadata.": "La vista de SonnetDB [{0}] no proporcionó metadatos de campo." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "El campo [{1}] de la vista de SonnetDB [{0}] no proporcionó un tipo declarado asignable. Consulte SonnetDB issue #261; aún deben completarse y publicarse los metadatos de declaración de la vista." "SonnetDB does not support field type {0}.": "SonnetDB no admite el tipo de campo {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING aún no admite la modificación de restricciones de longitud. Consulte SonnetDB issue #240; aún debe implementarse y publicarse la capacidad." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Cambiar la identidad o la clave principal en columnas existentes de SonnetDB requiere una migración independiente y no puede hacerse mediante ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER perdería la precisión explícita y se rechazó para preservar la semántica del modelo. Consulte SonnetDB issue #241; aún debe corregirse y publicarse." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB incrustado crea bases de datos a través del directorio Data Source; configure una conexión independiente para el directorio de destino." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB incrustado no admite la eliminación del directorio de la base de datos mediante SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB aún no admite la persistencia de comentarios de tablas y columnas. Consulte SonnetDB issue #237; la capacidad debe implementarse y publicarse." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] El campo {0}.{1} declara la longitud {2}, pero STRING actualmente no admite restricciones de longitud; pendiente, consulte SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Incompleto {0}: aún no se admite la persistencia de comentarios de tablas y columnas; SonnetDB debe implementarlo y publicarlo, consulte issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "El controlador SQLite actual no admite BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "¡El algoritmo de paginación requiere una columna de ordenación! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Ruta de búsqueda de VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuto" "实体缓存": "Caché de entidades" "统计字段": "Campo de estadísticas" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB admite los niveles de aislamiento de transacciones ReadCommitted y Serializable; los demás requieren una asignación compatible explícita." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "El campo [{1}] de la vista de SonnetDB [{0}] no proporcionó un tipo declarado asignable. Consulte SonnetDB issue #261. También debe declararse si se admite NULL; no deduzca el tipo ni la admisión de NULL de la primera fila." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "El campo [{1}] de la vista de SonnetDB [{0}] no proporcionó un tipo declarado asignable. Consulte SonnetDB issue #261." diff --git a/XCode/Locales/fa.yml b/XCode/Locales/fa.yml index dd90e0662..9c65874d4 100644 --- a/XCode/Locales/fa.yml +++ b/XCode/Locales/fa.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB از ایجاد bucket از طریق SQL پشتیبانی نمی‌کند. از HTTP API یا CLI استفاده کنید." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB از حذف bucket از طریق SQL پشتیبانی نمی‌کند. از HTTP API یا CLI استفاده کنید." "InfluxDB does not support altering columns.": "InfluxDB از تغییر ستون‌ها پشتیبانی نمی‌کند." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET در حال حاضر نمی‌تواند از Int32.MaxValue بیشتر شود. SonnetDB issue #256 را ببینید." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 نمی‌تواند این مقدار Decimal را دقیقاً حفظ کند و نوشتن را رد کرد. SonnetDB issue #235 را ببینید؛ پشتیبانی از پارامترهای decimal دقیق هنوز باید پیاده‌سازی و منتشر شود." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT از Int64 علامت‌دار استفاده می‌کند و فقط مقادیر UInt64 تا Int64.MaxValue را پشتیبانی می‌کند." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME فقط می‌تواند دقت میلی‌ثانیه را حفظ کند و زمان‌های کمتر از یک میلی‌ثانیه را رد کرد. SonnetDB issue #236 را ببینید؛ پشتیبانی کامل از دقت زمان هنوز باید پیاده‌سازی و منتشر شود." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "حذف انبوه محدود در SonnetDB در حال حاضر نیازمند کلید اصلی تک‌ستونی است؛ جدول‌های دارای کلید اصلی مرکب یا بدون کلید اصلی نمی‌توانند به حذف نامحدود بازگردند. SonnetDB issue #243 را ببینید." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB هنوز معناشناسی کامل این سطح جداسازی تراکنش را ارائه نمی‌دهد؛ از ReadCommitted استفاده کنید. SonnetDB issue #225 را ببینید." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "نتیجه SonnetDB ستون‌های هویت را شناسایی نمی‌کند، بنابراین شماره تولیدشده را نمی‌توان به‌طور ایمن به دست آورد. به نسخه‌ای از SonnetDB که شامل فراداده ستون RETURNING است ارتقا دهید." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB هنوز معناشناسی Replace یعنی حذف ردیف‌های متضاد و درج ردیف‌های جدید را پشتیبانی نمی‌کند. SonnetDB issue #242 را ببینید." "Bulk write must contain at least one field.": "نوشتن انبوه باید حداقل یک فیلد داشته باشد." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert نیازمند کلید اصلی یا هدف تضاد کامل ایندکس یکتا است." "SonnetDB field type has not been mapped: {0}": "نوع فیلد SonnetDB نگاشت نشده است: {0}" "SonnetDB view [{0}] did not provide field metadata.": "نمای SonnetDB [{0}] فراداده فیلد را ارائه نکرد." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "فیلد [{1}] نمای SonnetDB [{0}] نوع اعلان‌شده قابل نگاشت را ارائه نکرد. SonnetDB issue #261 را ببینید؛ فراداده اعلان نما هنوز باید تکمیل و منتشر شود." "SonnetDB does not support field type {0}.": "SonnetDB از نوع فیلد {0} پشتیبانی نمی‌کند." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING هنوز از تغییر محدودیت‌های طول پشتیبانی نمی‌کند. SonnetDB issue #240 را ببینید؛ این قابلیت هنوز باید پیاده‌سازی و منتشر شود." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "تغییر هویت یا کلید اصلی در ستون‌های موجود SonnetDB نیازمند مهاجرت جداگانه است و نمی‌توان آن را از طریق ALTER COLUMN انجام داد." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER دقت صریح را از دست می‌دهد و برای حفظ معناشناسی مدل رد شد. SonnetDB issue #241 را ببینید؛ هنوز باید اصلاح و منتشر شود." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB جاسازی‌شده پایگاه‌های داده را از طریق پوشه Data Source ایجاد می‌کند؛ یک اتصال جداگانه برای پوشه هدف پیکربندی کنید." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB جاسازی‌شده از حذف پوشه پایگاه داده از طریق SQL پشتیبانی نمی‌کند." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB هنوز از ماندگاری توضیحات جدول و ستون پشتیبانی نمی‌کند. SonnetDB issue #237 را ببینید؛ این قابلیت باید پیاده‌سازی و منتشر شود." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] فیلد {0}.{1} طول {2} را اعلام می‌کند، اما STRING در حال حاضر از محدودیت طول پشتیبانی نمی‌کند؛ در انتظار، SonnetDB issue #240 را ببینید." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] ناتمام {0}: ماندگاری توضیحات جدول و ستون هنوز پشتیبانی نمی‌شود؛ SonnetDB باید آن را پیاده‌سازی و منتشر کند، issue #237 را ببینید." "The current SQLite driver does not support BackupDatabase: {0}": "درایور فعلی SQLite از BackupDatabase پشتیبانی نمی‌کند: {0}" "The paging algorithm requires a sort column! {0}": "الگوریتم صفحه‌بندی نیازمند ستون مرتب‌سازی است! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]مسیر جستجوی VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "دقیقه" "实体缓存": "حافظه نهان موجودیت" "统计字段": "فیلد آمار" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB از سطوح جداسازی تراکنش ReadCommitted و Serializable پشتیبانی می‌کند؛ سایر سطوح به نگاشت صریح و پشتیبانی‌شده نیاز دارند." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "فیلد [{1}] نمای SonnetDB [{0}] نوع اعلان‌شده قابل نگاشت را ارائه نکرد. SonnetDB issue #261. امکان پذیرش NULL نیز باید اعلام شود؛ نوع یا پذیرش NULL را از ردیف اول استنباط نکنید." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "فیلد [{1}] نمای SonnetDB [{0}] نوع اعلان‌شده قابل نگاشت را ارائه نکرد. SonnetDB issue #261." diff --git a/XCode/Locales/fi.yml b/XCode/Locales/fi.yml index 7b7491774..5f0c41120 100644 --- a/XCode/Locales/fi.yml +++ b/XCode/Locales/fi.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB ei tue bucketien luomista SQL:n kautta. Käytä HTTP API:a tai CLI:tä." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB ei tue bucketien poistamista SQL:n kautta. Käytä HTTP API:a tai CLI:tä." "InfluxDB does not support altering columns.": "InfluxDB ei tue sarakkeiden muuttamista." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET ei voi tällä hetkellä ylittää arvoa Int32.MaxValue. Katso SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 ei voi säilyttää tätä Decimal-arvoa tarkasti ja hylkäsi kirjoituksen. Katso SonnetDB issue #235; tarkkojen decimal-parametrien tuki on vielä toteutettava ja julkaistava." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT käyttää etumerkillistä Int64:ää ja tukee vain UInt64-arvoja Int64.MaxValueen asti." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME voi säilyttää vain millisekunnin tarkkuuden ja hylkäsi alle millisekunnin ajat. Katso SonnetDB issue #236; täysi aikatarkkuuden tuki on vielä toteutettava ja julkaistava." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB:n rajoitettu massapoisto edellyttää tällä hetkellä yhden sarakkeen pääavainta; taulut, joissa on yhdistetty pääavain tai ei pääavainta, eivät voi siirtyä rajoittamattomaan poistoon. Katso SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB ei vielä tarjoa tämän tapahtuman eristystason täyttä semantiikkaa; käytä ReadCommittedia. Katso SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB-tulos ei tunnista identiteettisarakkeita, joten luotua numeroa ei voi hakea turvallisesti. Päivitä SonnetDB-versioon, joka sisältää RETURNING-sarakkeen metatiedot." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB ei vielä tue Replace-semantiikkaa, jossa ristiriitaiset rivit poistetaan ja uudet rivit lisätään. Katso SonnetDB issue #242." "Bulk write must contain at least one field.": "Massakirjoituksen on sisällettävä vähintään yksi kenttä." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert edellyttää pääavainta tai täydellistä ainutlaatuisen indeksin konfliktikohdetta." "SonnetDB field type has not been mapped: {0}": "SonnetDB-kenttätyyppiä ei ole yhdistetty: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB-näkymä [{0}] ei antanut kenttien metatietoja." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB-näkymän [{0}] kenttä [{1}] ei antanut yhdistettävää ilmoitettua tyyppiä. Katso SonnetDB issue #261; näkymän ilmoituksen metatiedot on vielä täydennettävä ja julkaistava." "SonnetDB does not support field type {0}.": "SonnetDB ei tue kenttätyyppiä {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING ei vielä tue pituusrajoitusten muuttamista. Katso SonnetDB issue #240; ominaisuus on vielä toteutettava ja julkaistava." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Olemassa olevien SonnetDB-sarakkeiden identiteetin tai pääavaimen muuttaminen edellyttää erillistä migraatiota, eikä sitä voi tehdä ALTER COLUMNilla." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER menettäisi eksplisiittisen tarkkuuden, ja se hylättiin mallin semantiikan säilyttämiseksi. Katso SonnetDB issue #241; se on vielä korjattava ja julkaistava." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Upotettu SonnetDB luo tietokannat Data Source -hakemiston kautta; määritä erillinen yhteys kohdehakemistolle." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Upotettu SonnetDB ei tue tietokantahakemiston poistamista SQL:n kautta." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB ei vielä tue taulujen ja sarakkeiden kommenttien tallentamista. Katso SonnetDB issue #237; ominaisuus on toteutettava ja julkaistava." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Kenttä {0}.{1} ilmoittaa pituudeksi {2}, mutta STRING ei tällä hetkellä tue pituusrajoituksia; odottaa, katso SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Kesken {0}: taulujen ja sarakkeiden kommenttien tallentamista ei vielä tueta; SonnetDB:n on toteutettava ja julkaistava se, katso issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Nykyinen SQLite-ohjain ei tue BackupDatabasea: {0}" "The paging algorithm requires a sort column! {0}": "Sivutusalgoritmi edellyttää lajittelusaraketta! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase-hakupolku (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuutti" "实体缓存": "Entiteettivälimuisti" "统计字段": "Tilastokenttä" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB tukee tapahtumien eristystasoja ReadCommitted ja Serializable; muut tasot edellyttävät nimenomaista tuettua vastaavuutta." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB-näkymän [{0}] kenttä [{1}] ei antanut yhdistettävää ilmoitettua tyyppiä. Katso SonnetDB issue #261. Myös NULL-arvojen sallittavuus on määriteltävä; älä päättele tyyppiä tai NULL-arvojen sallittavuutta ensimmäisestä rivistä." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB-näkymän [{0}] kenttä [{1}] ei antanut yhdistettävää ilmoitettua tyyppiä. Katso SonnetDB issue #261." diff --git a/XCode/Locales/fr.yml b/XCode/Locales/fr.yml index ccdb7be01..3b4de4079 100644 --- a/XCode/Locales/fr.yml +++ b/XCode/Locales/fr.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB ne prend pas en charge la création de buckets via SQL. Utilisez l’API HTTP ou la CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB ne prend pas en charge la suppression de buckets via SQL. Utilisez l’API HTTP ou la CLI." "InfluxDB does not support altering columns.": "InfluxDB ne prend pas en charge la modification des colonnes." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET ne peut actuellement pas dépasser Int32.MaxValue. Voir SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 ne peut pas conserver exactement cette valeur Decimal et a rejeté l’écriture. Voir SonnetDB issue #235 ; la prise en charge des paramètres decimal précis doit encore être implémentée et publiée." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT utilise Int64 signé et ne prend en charge que les valeurs UInt64 jusqu’à Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME ne peut conserver qu’une précision de milliseconde et a rejeté les temps inférieurs à la milliseconde. Voir SonnetDB issue #236 ; la prise en charge complète de la précision temporelle doit encore être implémentée et publiée." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "La suppression en masse bornée dans SonnetDB nécessite actuellement une clé primaire à une seule colonne ; les tables avec une clé primaire composite ou sans clé primaire ne peuvent pas recourir à une suppression non bornée. Voir SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB ne fournit pas encore la sémantique complète de ce niveau d’isolation de transaction ; utilisez ReadCommitted. Voir SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Le résultat SonnetDB n’identifie pas les colonnes d’identité, le numéro généré ne peut donc pas être obtenu en toute sécurité. Mettez à niveau vers une version de SonnetDB incluant les métadonnées de colonne RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB ne prend pas encore en charge la sémantique Replace consistant à supprimer les lignes en conflit puis à insérer de nouvelles lignes. Voir SonnetDB issue #242." "Bulk write must contain at least one field.": "L’écriture en masse doit contenir au moins un champ." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert nécessite une clé primaire ou une cible de conflit d’index unique complète." "SonnetDB field type has not been mapped: {0}": "Le type de champ SonnetDB n’a pas été mappé : {0}" "SonnetDB view [{0}] did not provide field metadata.": "La vue SonnetDB [{0}] n’a pas fourni de métadonnées de champ." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Le champ [{1}] de la vue SonnetDB [{0}] n’a pas fourni de type déclaré mappable. Voir SonnetDB issue #261 ; les métadonnées de déclaration de vue doivent encore être complétées et publiées." "SonnetDB does not support field type {0}.": "SonnetDB ne prend pas en charge le type de champ {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING ne prend pas encore en charge la modification des contraintes de longueur. Voir SonnetDB issue #240 ; la fonctionnalité doit encore être implémentée et publiée." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "La modification de l’identité ou de la clé primaire des colonnes SonnetDB existantes nécessite une migration distincte et ne peut pas être effectuée via ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER perdrait la précision explicite et a été rejeté pour préserver la sémantique du modèle. Voir SonnetDB issue #241 ; il doit encore être corrigé et publié." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB intégré crée des bases de données via le répertoire Data Source ; configurez une connexion distincte pour le répertoire cible." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB intégré ne prend pas en charge la suppression du répertoire de base de données via SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB ne prend pas encore en charge la persistance des commentaires de tables et de colonnes. Voir SonnetDB issue #237 ; la fonctionnalité doit être implémentée et publiée." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Le champ {0}.{1} déclare la longueur {2}, mais STRING ne prend actuellement pas en charge les contraintes de longueur ; en attente, voir SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Incomplet {0} : la persistance des commentaires de tables et de colonnes n’est pas encore prise en charge ; SonnetDB doit l’implémenter et la publier, voir issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Le pilote SQLite actuel ne prend pas en charge BackupDatabase : {0}" "The paging algorithm requires a sort column! {0}": "L’algorithme de pagination nécessite une colonne de tri ! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Chemin de recherche VastBase (Schema) : {1}" @@ -600,3 +588,6 @@ "entity:XCode.Membership.Parameter": "Paramètre de dictionnaire" "entity:XCode.Membership.Tenant": "Locataire" "entity:XCode.Membership.TenantUser": "Relation de locataire" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB prend en charge les niveaux d’isolation des transactions ReadCommitted et Serializable ; les autres niveaux exigent une correspondance explicite prise en charge." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Le champ [{1}] de la vue SonnetDB [{0}] n’a pas fourni de type déclaré mappable. Voir SonnetDB issue #261. L’acceptation de NULL doit aussi être déclarée ; ne déduisez ni le type ni l’acceptation de NULL de la première ligne." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Le champ [{1}] de la vue SonnetDB [{0}] n’a pas fourni de type déclaré mappable. Voir SonnetDB issue #261." diff --git a/XCode/Locales/he.yml b/XCode/Locales/he.yml index 64d6f6750..c2a23888f 100644 --- a/XCode/Locales/he.yml +++ b/XCode/Locales/he.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB אינו תומך ביצירת דליים באמצעות SQL. השתמש ב-HTTP API או ב-CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB אינו תומך במחיקת דליים באמצעות SQL. השתמש ב-HTTP API או ב-CLI." "InfluxDB does not support altering columns.": "InfluxDB אינו תומך בשינוי עמודות." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET אינו יכול לעלות על Int32.MaxValue כרגע. ראה SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 אינו יכול לשמור ערך Decimal זה במדויק ודחה את הכתיבה. ראה SonnetDB issue #235; תמיכה בפרמטרי decimal מדויקים עדיין צריכה להיות מיושמת ולצאת לאור." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT משתמש ב-Int64 עם סימן ותומך רק בערכי UInt64 עד Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME יכול לשמור רק דיוק של אלפיות שנייה ודחה זמנים מתחת לאלפית שנייה. ראה SonnetDB issue #236; תמיכה מלאה בדיוק זמן עדיין צריכה להיות מיושמת ולצאת לאור." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "מחיקה מרוכזת מוגבלת ב-SonnetDB דורשת כרגע מפתח ראשי של עמודה אחת; טבלאות עם מפתח ראשי מורכב או ללא מפתח ראשי אינן יכולות לעבור למחיקה בלתי מוגבלת. ראה SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB עדיין אינו מספק את הסמנטיקה המלאה של רמת בידוד עסקאות זו; השתמש ב-ReadCommitted. ראה SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "תוצאת SonnetDB אינה מזהה עמודות זהות, לכן לא ניתן לקבל את המספר שנוצר בבטחה. שדרג לגרסת SonnetDB הכוללת מטא-נתוני עמודות RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB עדיין אינו תומך בסמנטיקת Replace של מחיקת שורות מתנגשות והוספת שורות חדשות. ראה SonnetDB issue #242." "Bulk write must contain at least one field.": "כתיבה מרוכזת חייבת להכיל לפחות שדה אחד." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert דורש מפתח ראשי או יעד התנגשות מלא של אינדקס ייחודי." "SonnetDB field type has not been mapped: {0}": "סוג השדה של SonnetDB לא ממופה: {0}" "SonnetDB view [{0}] did not provide field metadata.": "תצוגת SonnetDB [{0}] לא סיפקה מטא-נתוני שדות." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "השדה [{1}] של תצוגת SonnetDB [{0}] לא סיפק סוג מוצהר שניתן למפות. ראה SonnetDB issue #261; יש להשלים ולפרסם את מטא-נתוני הצהרת התצוגה." "SonnetDB does not support field type {0}.": "SonnetDB אינו תומך בסוג השדה {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING עדיין אינו תומך בשינוי אילוצי אורך. ראה SonnetDB issue #240; יש ליישם ולפרסם את היכולת." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "שינוי זהות או מפתח ראשי בעמודות SonnetDB קיימות דורש מיגרציה נפרדת ואינו יכול להתבצע באמצעות ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER יאבד דיוק מפורש ונדחה כדי לשמור על סמנטיקת המודל. ראה SonnetDB issue #241; עדיין יש לתקן ולפרסם." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB מוטבע יוצר מסדי נתונים דרך תיקיית Data Source; הגדר חיבור נפרד עבור תיקיית היעד." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB מוטבע אינו תומך במחיקת תיקיית מסד הנתונים באמצעות SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB עדיין אינו תומך בשמירה מתמשכת של הערות טבלה ועמודה. ראה SonnetDB issue #237; יש ליישם ולפרסם את היכולת." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] השדה {0}.{1} מצהיר על אורך {2}, אך STRING אינו תומך כרגע באילוצי אורך; בהמתנה, ראה SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] לא הושלם {0}: שמירה מתמשכת של הערות טבלה ועמודה אינה נתמכת עדיין; SonnetDB חייב ליישם ולפרסם זאת, ראה issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "התקן SQLite הנוכחי אינו תומך ב-BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "אלגוריתם החלוקה לעמודים דורש עמודת מיון! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]נתיב חיפוש VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "דקה" "实体缓存": "מטמון ישויות" "统计字段": "שדה סטטיסטיקה" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB תומך ברמות בידוד העסקאות ReadCommitted ו-Serializable; רמות אחרות מחייבות מיפוי מפורש שנתמך." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "השדה [{1}] של תצוגת SonnetDB [{0}] לא סיפק סוג מוצהר שניתן למפות. ראה SonnetDB issue #261. יש להצהיר גם אם NULL מותר; אין להסיק את הטיפוס או את האפשרות ל-NULL מהשורה הראשונה." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "השדה [{1}] של תצוגת SonnetDB [{0}] לא סיפק סוג מוצהר שניתן למפות. ראה SonnetDB issue #261." diff --git a/XCode/Locales/hi.yml b/XCode/Locales/hi.yml index de954a2cd..950b766ef 100644 --- a/XCode/Locales/hi.yml +++ b/XCode/Locales/hi.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB SQL के माध्यम से बकेट बनाने का समर्थन नहीं करता। HTTP API या CLI का उपयोग करें।" "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB SQL के माध्यम से बकेट हटाने का समर्थन नहीं करता। HTTP API या CLI का उपयोग करें।" "InfluxDB does not support altering columns.": "InfluxDB कॉलम संशोधित करने का समर्थन नहीं करता।" -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET वर्तमान में Int32.MaxValue से अधिक नहीं हो सकता। SonnetDB issue #256 देखें।" -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 इस Decimal मान को सटीक रूप से संरक्षित नहीं कर सकता और इसने लेखन अस्वीकार कर दिया। SonnetDB issue #235 देखें; सटीक decimal पैरामीटर समर्थन अभी भी लागू और जारी किया जाना बाकी है।" "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT हस्ताक्षरित Int64 का उपयोग करता है और केवल Int64.MaxValue तक UInt64 मानों का समर्थन करता है।" -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME केवल मिलीसेकंड परिशुद्धता संरक्षित कर सकता है और इसने एक मिलीसेकंड से कम समय अस्वीकार कर दिया। SonnetDB issue #236 देखें; पूर्ण समय परिशुद्धता समर्थन अभी भी लागू और जारी किया जाना बाकी है।" -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB में सीमित बल्क डिलीट के लिए वर्तमान में एकल-कॉलम प्राथमिक कुंजी आवश्यक है; समग्र प्राथमिक कुंजी वाली या बिना प्राथमिक कुंजी वाली तालिकाएँ असीमित डिलीट पर वापस नहीं जा सकतीं। SonnetDB issue #243 देखें।" -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB अभी तक इस लेन-देन अलगाव स्तर का पूर्ण अर्थ नहीं देता; ReadCommitted का उपयोग करें। SonnetDB issue #225 देखें।" "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB परिणाम पहचान कॉलम की पहचान नहीं करता, इसलिए उत्पन्न संख्या सुरक्षित रूप से प्राप्त नहीं की जा सकती। RETURNING कॉलम मेटाडेटा वाले SonnetDB संस्करण में अपग्रेड करें।" -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB अभी तक Replace अर्थ का समर्थन नहीं करता जिसमें विरोधाभासी पंक्तियों को हटाकर नई पंक्तियाँ डाली जाती हैं। SonnetDB issue #242 देखें।" "Bulk write must contain at least one field.": "बल्क लेखन में कम से कम एक फ़ील्ड होना चाहिए।" "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert के लिए प्राथमिक कुंजी या पूर्ण विशिष्ट-इंडेक्स विरोध लक्ष्य आवश्यक है।" "SonnetDB field type has not been mapped: {0}": "SonnetDB फ़ील्ड प्रकार मैप नहीं किया गया है: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB दृश्य [{0}] ने फ़ील्ड मेटाडेटा प्रदान नहीं किया।" -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB दृश्य [{0}] के फ़ील्ड [{1}] ने मैप करने योग्य घोषित प्रकार प्रदान नहीं किया। SonnetDB issue #261 देखें; दृश्य घोषणा मेटाडेटा अभी भी पूरा और जारी किया जाना बाकी है।" "SonnetDB does not support field type {0}.": "SonnetDB फ़ील्ड प्रकार {0} का समर्थन नहीं करता।" -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING अभी तक लंबाई बाधाओं को बदलने का समर्थन नहीं करता। SonnetDB issue #240 देखें; क्षमता अभी भी लागू और जारी की जानी बाकी है।" "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "मौजूदा SonnetDB कॉलम पर पहचान या प्राथमिक कुंजी बदलने के लिए अलग माइग्रेशन आवश्यक है और यह ALTER COLUMN के माध्यम से नहीं किया जा सकता।" -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER स्पष्ट परिशुद्धता खो देगा और मॉडल अर्थ को संरक्षित करने के लिए अस्वीकार कर दिया गया। SonnetDB issue #241 देखें; इसे अभी भी ठीक और जारी किया जाना बाकी है।" "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "एम्बेडेड SonnetDB Data Source निर्देशिका के माध्यम से डेटाबेस बनाता है; लक्ष्य निर्देशिका के लिए अलग कनेक्शन कॉन्फ़िगर करें।" "Embedded SonnetDB does not support deleting the database directory via SQL.": "एम्बेडेड SonnetDB SQL के माध्यम से डेटाबेस निर्देशिका हटाने का समर्थन नहीं करता।" -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB अभी तक तालिका और कॉलम टिप्पणियों को स्थायी रूप से संग्रहीत करने का समर्थन नहीं करता। SonnetDB issue #237 देखें; क्षमता लागू और जारी की जानी चाहिए।" -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] फ़ील्ड {0}.{1} लंबाई {2} घोषित करता है, लेकिन STRING वर्तमान में लंबाई बाधाओं का समर्थन नहीं करता; लंबित, SonnetDB issue #240 देखें।" -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] अपूर्ण {0}: तालिका और कॉलम टिप्पणियों का स्थायी संग्रहण अभी समर्थित नहीं है; SonnetDB को इसे लागू और जारी करना होगा, issue #237 देखें।" "The current SQLite driver does not support BackupDatabase: {0}": "वर्तमान SQLite ड्राइवर BackupDatabase का समर्थन नहीं करता: {0}" "The paging algorithm requires a sort column! {0}": "पेजिंग एल्गोरिद्म के लिए सॉर्ट कॉलम आवश्यक है! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase खोज पथ (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "मिनट" "实体缓存": "एंटिटी कैश" "统计字段": "सांख्यिकी फ़ील्ड" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB ReadCommitted और Serializable लेनदेन पृथक्करण स्तरों का समर्थन करता है; अन्य स्तरों के लिए स्पष्ट समर्थित मैपिंग आवश्यक है।" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB दृश्य [{0}] के फ़ील्ड [{1}] ने मैप करने योग्य घोषित प्रकार प्रदान नहीं किया। SonnetDB issue #261. NULL स्वीकार्यता भी घोषित होनी चाहिए; पहली पंक्ति से प्रकार या NULL स्वीकार्यता का अनुमान न लगाएँ।" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB दृश्य [{0}] के फ़ील्ड [{1}] ने मैप करने योग्य घोषित प्रकार प्रदान नहीं किया। SonnetDB issue #261." diff --git a/XCode/Locales/hu.yml b/XCode/Locales/hu.yml index 6de443b07..3de45b944 100644 --- a/XCode/Locales/hu.yml +++ b/XCode/Locales/hu.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "Az InfluxDB nem támogatja a bucketek SQL-lel történő létrehozását. Használja a HTTP API-t vagy a CLI-t." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "Az InfluxDB nem támogatja a bucketek SQL-lel történő törlését. Használja a HTTP API-t vagy a CLI-t." "InfluxDB does not support altering columns.": "Az InfluxDB nem támogatja az oszlopok módosítását." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "A SonnetDB LIMIT/OFFSET jelenleg nem haladhatja meg az Int32.MaxValue értéket. Lásd: SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "A SonnetDB 4.0.0 nem tudja pontosan megőrizni ezt a Decimal értéket, ezért elutasította az írást. Lásd: SonnetDB issue #235; a pontos decimal paraméterek támogatását még implementálni és kiadni kell." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "A SonnetDB INT előjeles Int64-et használ, és csak Int64.MaxValue-ig támogatja az UInt64 értékeket." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "A SonnetDB 4.0.0 DATETIME csak ezredmásodperces pontosságot tud megőrizni, ezért elutasította az ezredmásodpercnél kisebb időket. Lásd: SonnetDB issue #236; a teljes időpontosság támogatását még implementálni és kiadni kell." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "A SonnetDB korlátozott tömeges törlése jelenleg egyoszlopos elsődleges kulcsot igényel; az összetett elsődleges kulcsú vagy elsődleges kulcs nélküli táblák nem eshetnek vissza korlátlan törlésre. Lásd: SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "A SonnetDB még nem nyújtja ennek a tranzakciós izolációs szintnek a teljes szemantikáját; használja a ReadCommitted szintet. Lásd: SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "A SonnetDB eredménye nem azonosítja az identitásoszlopokat, ezért a generált szám nem kérhető le biztonságosan. Frissítsen egy olyan SonnetDB-verzióra, amely tartalmazza a RETURNING oszlop metaadatait." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "A SonnetDB még nem támogatja a Replace szemantikát, amely a konfliktusos sorok törlését és új sorok beszúrását jelenti. Lásd: SonnetDB issue #242." "Bulk write must contain at least one field.": "A tömeges írásnak legalább egy mezőt tartalmaznia kell." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "A SonnetDB Upsert elsődleges kulcsot vagy teljes egyedi indexkonfliktus-célt igényel." "SonnetDB field type has not been mapped: {0}": "A SonnetDB mezőtípus nincs leképezve: {0}" "SonnetDB view [{0}] did not provide field metadata.": "A(z) [{0}] SonnetDB-nézet nem adott mezőmetaadatokat." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "A(z) [{0}] SonnetDB-nézet [{1}] mezője nem adott leképezhető deklarált típust. Lásd: SonnetDB issue #261; a nézetdeklaráció metaadatait még be kell fejezni és ki kell adni." "SonnetDB does not support field type {0}.": "A SonnetDB nem támogatja a(z) {0} mezőtípust." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "A SonnetDB STRING még nem támogatja a hosszkorlátozások módosítását. Lásd: SonnetDB issue #240; a funkciót még implementálni és kiadni kell." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "A meglévő SonnetDB-oszlopok identitásának vagy elsődleges kulcsának módosítása külön migrációt igényel, és nem végezhető el ALTER COLUMN-nal." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "A SonnetDB 4.0.0 DECIMAL ADD/ALTER elveszítené az explicit pontosságot, ezért a modell szemantikájának megőrzése érdekében elutasították. Lásd: SonnetDB issue #241; még javítani és kiadni kell." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "A beágyazott SonnetDB a Data Source könyvtáron keresztül hoz létre adatbázisokat; konfiguráljon külön kapcsolatot a célkönyvtárhoz." "Embedded SonnetDB does not support deleting the database directory via SQL.": "A beágyazott SonnetDB nem támogatja az adatbázis-könyvtár SQL-lel történő törlését." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "A SonnetDB még nem támogatja a tábla- és oszlopmegjegyzések tartós tárolását. Lásd: SonnetDB issue #237; a funkciót implementálni és kiadni kell." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] A(z) {0}.{1} mező {2} hosszúságot deklarál, de a STRING jelenleg nem támogatja a hosszkorlátozásokat; függőben, lásd: SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Befejezetlen {0}: a tábla- és oszlopmegjegyzések tartós tárolása még nem támogatott; a SonnetDB-nek implementálnia és ki kell adnia, lásd: issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "A jelenlegi SQLite-illesztő nem támogatja a BackupDatabase műveletet: {0}" "The paging algorithm requires a sort column! {0}": "A lapozási algoritmushoz rendezési oszlop szükséges! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase keresési útvonal (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Perc" "实体缓存": "Entitás-gyorsítótár" "统计字段": "Statisztikai mező" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "A SonnetDB a ReadCommitted és Serializable tranzakcióelkülönítési szinteket támogatja; más szintekhez kifejezett, támogatott megfeleltetés szükséges." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "A(z) [{0}] SonnetDB-nézet [{1}] mezője nem adott leképezhető deklarált típust. Lásd: SonnetDB issue #261. A NULL megengedhetőségét is deklarálni kell; a típust vagy a NULL megengedhetőségét ne az első sorból következtesse ki." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "A(z) [{0}] SonnetDB-nézet [{1}] mezője nem adott leképezhető deklarált típust. Lásd: SonnetDB issue #261." diff --git a/XCode/Locales/id.yml b/XCode/Locales/id.yml index 0d6f72789..597a970ee 100644 --- a/XCode/Locales/id.yml +++ b/XCode/Locales/id.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB tidak mendukung pembuatan bucket melalui SQL. Gunakan HTTP API atau CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB tidak mendukung penghapusan bucket melalui SQL. Gunakan HTTP API atau CLI." "InfluxDB does not support altering columns.": "InfluxDB tidak mendukung perubahan kolom." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET saat ini tidak dapat melebihi Int32.MaxValue. Lihat SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 tidak dapat mempertahankan nilai Decimal ini secara tepat dan menolak penulisan. Lihat SonnetDB issue #235; dukungan parameter decimal yang tepat masih perlu diterapkan dan dirilis." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT menggunakan Int64 bertanda dan hanya mendukung nilai UInt64 hingga Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME hanya dapat mempertahankan presisi milidetik dan menolak waktu di bawah satu milidetik. Lihat SonnetDB issue #236; dukungan presisi waktu penuh masih perlu diterapkan dan dirilis." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Penghapusan massal terbatas di SonnetDB saat ini memerlukan kunci utama satu kolom; tabel dengan kunci utama gabungan atau tanpa kunci utama tidak dapat beralih ke penghapusan tak terbatas. Lihat SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB belum menyediakan semantik lengkap tingkat isolasi transaksi ini; gunakan ReadCommitted. Lihat SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Hasil SonnetDB tidak mengidentifikasi kolom identitas, sehingga nomor yang dihasilkan tidak dapat diperoleh dengan aman. Tingkatkan ke versi SonnetDB yang menyertakan metadata kolom RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB belum mendukung semantik Replace yaitu menghapus baris yang berkonflik lalu menyisipkan baris baru. Lihat SonnetDB issue #242." "Bulk write must contain at least one field.": "Penulisan massal harus berisi setidaknya satu bidang." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert memerlukan kunci utama atau target konflik indeks unik yang lengkap." "SonnetDB field type has not been mapped: {0}": "Tipe bidang SonnetDB belum dipetakan: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Tampilan SonnetDB [{0}] tidak menyediakan metadata bidang." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Bidang [{1}] tampilan SonnetDB [{0}] tidak menyediakan tipe yang dideklarasikan yang dapat dipetakan. Lihat SonnetDB issue #261; metadata deklarasi tampilan masih perlu diselesaikan dan dirilis." "SonnetDB does not support field type {0}.": "SonnetDB tidak mendukung tipe bidang {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING belum mendukung perubahan batasan panjang. Lihat SonnetDB issue #240; kemampuan ini masih perlu diterapkan dan dirilis." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Mengubah identitas atau kunci utama pada kolom SonnetDB yang ada memerlukan migrasi terpisah dan tidak dapat dilakukan melalui ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER akan kehilangan presisi eksplisit dan ditolak untuk mempertahankan semantik model. Lihat SonnetDB issue #241; masih perlu diperbaiki dan dirilis." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB tertanam membuat database melalui direktori Data Source; konfigurasikan koneksi terpisah untuk direktori target." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB tertanam tidak mendukung penghapusan direktori database melalui SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB belum mendukung penyimpanan komentar tabel dan kolom secara persisten. Lihat SonnetDB issue #237; kemampuan ini harus diterapkan dan dirilis." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Bidang {0}.{1} mendeklarasikan panjang {2}, tetapi STRING saat ini tidak mendukung batasan panjang; tertunda, lihat SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Belum selesai {0}: penyimpanan komentar tabel dan kolom belum didukung; SonnetDB harus menerapkan dan merilisnya, lihat issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Driver SQLite saat ini tidak mendukung BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Algoritma penomoran halaman memerlukan kolom pengurutan! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Jalur pencarian VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Menit" "实体缓存": "Cache entitas" "统计字段": "Bidang statistik" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB mendukung tingkat isolasi transaksi ReadCommitted dan Serializable; tingkat lain memerlukan pemetaan eksplisit yang didukung." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Bidang [{1}] tampilan SonnetDB [{0}] tidak menyediakan tipe yang dideklarasikan yang dapat dipetakan. Lihat SonnetDB issue #261. Kemampuan menerima NULL juga harus dideklarasikan; jangan menyimpulkan tipe atau kemampuan NULL dari baris pertama." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Bidang [{1}] tampilan SonnetDB [{0}] tidak menyediakan tipe yang dideklarasikan yang dapat dipetakan. Lihat SonnetDB issue #261." diff --git a/XCode/Locales/it.yml b/XCode/Locales/it.yml index f152dbfa9..080fb8da5 100644 --- a/XCode/Locales/it.yml +++ b/XCode/Locales/it.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB non supporta la creazione di bucket tramite SQL. Usare l'API HTTP o la CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB non supporta l'eliminazione di bucket tramite SQL. Usare l'API HTTP o la CLI." "InfluxDB does not support altering columns.": "InfluxDB non supporta la modifica delle colonne." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET attualmente non può superare Int32.MaxValue. Vedere SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 non può preservare esattamente questo valore Decimal e ha rifiutato la scrittura. Vedere SonnetDB issue #235; il supporto per parametri decimal precisi deve ancora essere implementato e rilasciato." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT usa Int64 con segno e supporta solo valori UInt64 fino a Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME può preservare solo la precisione al millisecondo e ha rifiutato orari inferiori al millisecondo. Vedere SonnetDB issue #236; il supporto completo della precisione temporale deve ancora essere implementato e rilasciato." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "L'eliminazione massiva limitata in SonnetDB attualmente richiede una chiave primaria a colonna singola; le tabelle con chiave primaria composta o senza chiave primaria non possono ricorrere all'eliminazione illimitata. Vedere SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB non fornisce ancora la semantica completa di questo livello di isolamento delle transazioni; usare ReadCommitted. Vedere SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Il risultato di SonnetDB non identifica le colonne di identità, quindi il numero generato non può essere ottenuto in modo sicuro. Aggiornare a una versione di SonnetDB che includa i metadati delle colonne RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB non supporta ancora la semantica Replace di eliminazione delle righe in conflitto e inserimento di nuove righe. Vedere SonnetDB issue #242." "Bulk write must contain at least one field.": "La scrittura in blocco deve contenere almeno un campo." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert richiede una chiave primaria o una destinazione di conflitto di indice univoco completa." "SonnetDB field type has not been mapped: {0}": "Il tipo di campo SonnetDB non è stato mappato: {0}" "SonnetDB view [{0}] did not provide field metadata.": "La vista SonnetDB [{0}] non ha fornito metadati dei campi." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Il campo [{1}] della vista SonnetDB [{0}] non ha fornito un tipo dichiarato mappabile. Vedere SonnetDB issue #261; i metadati della dichiarazione della vista devono ancora essere completati e rilasciati." "SonnetDB does not support field type {0}.": "SonnetDB non supporta il tipo di campo {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING non supporta ancora la modifica dei vincoli di lunghezza. Vedere SonnetDB issue #240; la funzionalità deve ancora essere implementata e rilasciata." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "La modifica dell'identità o della chiave primaria nelle colonne SonnetDB esistenti richiede una migrazione separata e non può essere eseguita tramite ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER perderebbe la precisione esplicita ed è stato rifiutato per preservare la semantica del modello. Vedere SonnetDB issue #241; deve ancora essere corretto e rilasciato." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB incorporato crea database tramite la directory Data Source; configurare una connessione separata per la directory di destinazione." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB incorporato non supporta l'eliminazione della directory del database tramite SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB non supporta ancora la persistenza dei commenti di tabelle e colonne. Vedere SonnetDB issue #237; la funzionalità deve essere implementata e rilasciata." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Il campo {0}.{1} dichiara la lunghezza {2}, ma STRING attualmente non supporta i vincoli di lunghezza; in sospeso, vedere SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Incompleto {0}: la persistenza dei commenti di tabelle e colonne non è ancora supportata; SonnetDB deve implementarla e rilasciarla, vedere issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Il driver SQLite corrente non supporta BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "L'algoritmo di paginazione richiede una colonna di ordinamento! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Percorso di ricerca VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuto" "实体缓存": "Cache delle entità" "统计字段": "Campo statistiche" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB supporta i livelli di isolamento delle transazioni ReadCommitted e Serializable; gli altri livelli richiedono una mappatura esplicita supportata." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Il campo [{1}] della vista SonnetDB [{0}] non ha fornito un tipo dichiarato mappabile. Vedere SonnetDB issue #261. È richiesta anche la dichiarazione di ammissibilità di NULL; non dedurre il tipo o l’ammissibilità di NULL dalla prima riga." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Il campo [{1}] della vista SonnetDB [{0}] non ha fornito un tipo dichiarato mappabile. Vedere SonnetDB issue #261." diff --git a/XCode/Locales/ja.yml b/XCode/Locales/ja.yml index f75afd5d4..31068d6d9 100644 --- a/XCode/Locales/ja.yml +++ b/XCode/Locales/ja.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB は SQL によるバケットの作成をサポートしていません。HTTP API または CLI を使用してください。" "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB は SQL によるバケットの削除をサポートしていません。HTTP API または CLI を使用してください。" "InfluxDB does not support altering columns.": "InfluxDB は列の変更をサポートしていません。" -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB の LIMIT/OFFSET は現在 Int32.MaxValue を超えることはできません。SonnetDB issue #256 を参照してください。" -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 はこの Decimal 値を正確に保存できず、書き込みを拒否しました。SonnetDB issue #235 を参照してください。正確な decimal パラメーターのサポートはまだ実装およびリリースする必要があります。" "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT は符号付き Int64 を使用し、Int64.MaxValue までの UInt64 値のみをサポートします。" -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME はミリ秒精度のみを保持でき、サブミリ秒の時刻を拒否しました。SonnetDB issue #236 を参照してください。完全な時刻精度のサポートはまだ実装およびリリースする必要があります。" -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB の境界付き一括削除は現在、単一列の主キーが必要です。複合主キーまたは主キーのないテーブルは、無制限削除にフォールバックできません。SonnetDB issue #243 を参照してください。" -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB はこのトランザクション分離レベルの完全なセマンティクスをまだ提供していません。ReadCommitted を使用してください。SonnetDB issue #225 を参照してください。" "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB の結果は ID 列を識別しないため、生成された番号を安全に取得できません。RETURNING 列メタデータを含む SonnetDB バージョンにアップグレードしてください。" -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB は、競合する行を削除してから新しい行を挿入する Replace セマンティクスをまだサポートしていません。SonnetDB issue #242 を参照してください。" "Bulk write must contain at least one field.": "一括書き込みには少なくとも 1 つのフィールドが必要です。" "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert には主キーまたは完全な一意インデックスの競合ターゲットが必要です。" "SonnetDB field type has not been mapped: {0}": "SonnetDB フィールド型がマップされていません: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB ビュー [{0}] はフィールドメタデータを提供しませんでした。" -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB ビュー [{0}] のフィールド [{1}] はマップ可能な宣言型を提供しませんでした。SonnetDB issue #261 を参照してください。ビュー宣言メタデータはまだ完成およびリリースする必要があります。" "SonnetDB does not support field type {0}.": "SonnetDB はフィールド型 {0} をサポートしていません。" -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING は長さ制約の変更をまだサポートしていません。SonnetDB issue #240 を参照してください。この機能はまだ実装およびリリースする必要があります。" "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "既存の SonnetDB 列の ID または主キーを変更するには別の移行が必要で、ALTER COLUMN では実行できません。" -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER は明示的な精度を失うため、モデルのセマンティクスを保持するために拒否されました。SonnetDB issue #241 を参照してください。まだ修正およびリリースする必要があります。" "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "埋め込み SonnetDB は Data Source ディレクトリを通じてデータベースを作成します。対象ディレクトリ用に別の接続を構成してください。" "Embedded SonnetDB does not support deleting the database directory via SQL.": "埋め込み SonnetDB は SQL によるデータベースディレクトリの削除をサポートしていません。" -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB はテーブルおよび列のコメントの永続化をまだサポートしていません。SonnetDB issue #237 を参照してください。この機能は実装およびリリースする必要があります。" -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] フィールド {0}.{1} は長さ {2} を宣言していますが、STRING は現在長さ制約をサポートしていません。保留中です。SonnetDB issue #240 を参照してください。" -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] 未完了 {0}: テーブルおよび列のコメントの永続化はまだサポートされていません。SonnetDB はこれを実装およびリリースする必要があります。issue #237 を参照してください。" "The current SQLite driver does not support BackupDatabase: {0}": "現在の SQLite ドライバーは BackupDatabase をサポートしていません: {0}" "The paging algorithm requires a sort column! {0}": "ページングアルゴリズムには並べ替え列が必要です! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase 検索パス (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "分" "实体缓存": "エンティティキャッシュ" "统计字段": "統計フィールド" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB はトランザクション分離レベル ReadCommitted と Serializable をサポートします。他のレベルには明示的な対応付けが必要です。" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB ビュー [{0}] のフィールド [{1}] はマップ可能な宣言型を提供しませんでした。SonnetDB issue #261. NULL 許容性の宣言も必要です。型や NULL 許容性を先頭行から推測しないでください。" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB ビュー [{0}] のフィールド [{1}] はマップ可能な宣言型を提供しませんでした。SonnetDB issue #261." diff --git a/XCode/Locales/ko.yml b/XCode/Locales/ko.yml index 1c0c2244c..e99cd7c42 100644 --- a/XCode/Locales/ko.yml +++ b/XCode/Locales/ko.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB는 SQL을 통한 버킷 생성을 지원하지 않습니다. HTTP API 또는 CLI를 사용하세요." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB는 SQL을 통한 버킷 삭제를 지원하지 않습니다. HTTP API 또는 CLI를 사용하세요." "InfluxDB does not support altering columns.": "InfluxDB는 열 변경을 지원하지 않습니다." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET은(는) 현재 Int32.MaxValue를 초과할 수 없습니다. SonnetDB issue #256을 참조하세요." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0은(는) 이 Decimal 값을 정확하게 보존할 수 없어 쓰기를 거부했습니다. SonnetDB issue #235를 참조하세요. 정확한 decimal 매개 변수 지원은 아직 구현 및 릴리스해야 합니다." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT은(는) 부호 있는 Int64를 사용하며 Int64.MaxValue까지의 UInt64 값만 지원합니다." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME은(는) 밀리초 정밀도만 보존할 수 있어 1밀리초 미만의 시간을 거부했습니다. SonnetDB issue #236을 참조하세요. 전체 시간 정밀도 지원은 아직 구현 및 릴리스해야 합니다." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB의 제한된 대량 삭제는 현재 단일 열 기본 키가 필요합니다. 복합 기본 키가 있거나 기본 키가 없는 테이블은 무제한 삭제로 대체할 수 없습니다. SonnetDB issue #243을 참조하세요." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB는 이 트랜잭션 격리 수준의 전체 의미 체계를 아직 제공하지 않습니다. ReadCommitted를 사용하세요. SonnetDB issue #225를 참조하세요." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB 결과가 ID 열을 식별하지 않으므로 생성된 번호를 안전하게 가져올 수 없습니다. RETURNING 열 메타데이터가 포함된 SonnetDB 버전으로 업그레이드하세요." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB는 충돌하는 행을 삭제한 후 새 행을 삽입하는 Replace 의미 체계를 아직 지원하지 않습니다. SonnetDB issue #242를 참조하세요." "Bulk write must contain at least one field.": "대량 쓰기에는 필드가 하나 이상 포함되어야 합니다." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert에는 기본 키 또는 완전한 고유 인덱스 충돌 대상이 필요합니다." "SonnetDB field type has not been mapped: {0}": "SonnetDB 필드 형식이 매핑되지 않았습니다: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB 뷰 [{0}]이(가) 필드 메타데이터를 제공하지 않았습니다." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB 뷰 [{0}]의 필드 [{1}]이(가) 매핑 가능한 선언 형식을 제공하지 않았습니다. SonnetDB issue #261을 참조하세요. 뷰 선언 메타데이터는 아직 완성 및 릴리스해야 합니다." "SonnetDB does not support field type {0}.": "SonnetDB는 필드 형식 {0}을(를) 지원하지 않습니다." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING은(는) 길이 제약 조건 변경을 아직 지원하지 않습니다. SonnetDB issue #240을 참조하세요. 이 기능은 아직 구현 및 릴리스해야 합니다." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "기존 SonnetDB 열의 ID 또는 기본 키를 변경하려면 별도 마이그레이션이 필요하며 ALTER COLUMN으로 수행할 수 없습니다." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER는 명시적 정밀도를 잃게 되므로 모델 의미 체계를 보존하기 위해 거부되었습니다. SonnetDB issue #241을 참조하세요. 아직 수정 및 릴리스해야 합니다." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "포함된 SonnetDB는 Data Source 디렉터리를 통해 데이터베이스를 만듭니다. 대상 디렉터리에 별도 연결을 구성하세요." "Embedded SonnetDB does not support deleting the database directory via SQL.": "포함된 SonnetDB는 SQL을 통한 데이터베이스 디렉터리 삭제를 지원하지 않습니다." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB는 테이블 및 열 주석 지속성을 아직 지원하지 않습니다. SonnetDB issue #237을 참조하세요. 이 기능은 구현 및 릴리스해야 합니다." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] 필드 {0}.{1}이(가) 길이 {2}을(를) 선언했지만 STRING은 현재 길이 제약 조건을 지원하지 않습니다. 보류 중, SonnetDB issue #240을 참조하세요." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] 미완료 {0}: 테이블 및 열 주석 지속성이 아직 지원되지 않습니다. SonnetDB가 이를 구현 및 릴리스해야 합니다. issue #237을 참조하세요." "The current SQLite driver does not support BackupDatabase: {0}": "현재 SQLite 드라이버는 BackupDatabase를 지원하지 않습니다: {0}" "The paging algorithm requires a sort column! {0}": "페이징 알고리즘에는 정렬 열이 필요합니다! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase 검색 경로(Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "분" "实体缓存": "엔터티 캐시" "统计字段": "통계 필드" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB는 ReadCommitted 및 Serializable 트랜잭션 격리 수준을 지원합니다. 다른 수준에는 지원되는 명시적 매핑이 필요합니다." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB 뷰 [{0}]의 필드 [{1}]이(가) 매핑 가능한 선언 형식을 제공하지 않았습니다. SonnetDB issue #261. NULL 허용 여부도 선언해야 합니다. 첫 번째 행에서 형식이나 NULL 허용 여부를 추론하지 마세요." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB 뷰 [{0}]의 필드 [{1}]이(가) 매핑 가능한 선언 형식을 제공하지 않았습니다. SonnetDB issue #261." diff --git a/XCode/Locales/ms.yml b/XCode/Locales/ms.yml index 5543abd39..1356d663b 100644 --- a/XCode/Locales/ms.yml +++ b/XCode/Locales/ms.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB tidak menyokong penciptaan baldi melalui SQL. Gunakan HTTP API atau CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB tidak menyokong pemadaman baldi melalui SQL. Gunakan HTTP API atau CLI." "InfluxDB does not support altering columns.": "InfluxDB tidak menyokong pengubahsuaian lajur." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET pada masa ini tidak boleh melebihi Int32.MaxValue. Lihat SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 tidak dapat mengekalkan nilai Decimal ini dengan tepat dan menolak penulisan. Lihat SonnetDB issue #235; sokongan parameter decimal yang tepat masih perlu dilaksanakan dan dikeluarkan." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT menggunakan Int64 bertanda dan hanya menyokong nilai UInt64 sehingga Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME hanya boleh mengekalkan ketepatan milisaat dan menolak masa di bawah satu milisaat. Lihat SonnetDB issue #236; sokongan ketepatan masa penuh masih perlu dilaksanakan dan dikeluarkan." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Pemadaman pukal terhad dalam SonnetDB pada masa ini memerlukan kunci utama satu lajur; jadual dengan kunci utama komposit atau tanpa kunci utama tidak boleh beralih kepada pemadaman tanpa had. Lihat SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB belum menyediakan semantik penuh tahap pengasingan transaksi ini; gunakan ReadCommitted. Lihat SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Hasil SonnetDB tidak mengenal pasti lajur identiti, jadi nombor yang dijana tidak boleh diperoleh dengan selamat. Naik taraf kepada versi SonnetDB yang menyertakan metadata lajur RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB belum menyokong semantik Replace iaitu memadam baris bercanggah dan memasukkan baris baharu. Lihat SonnetDB issue #242." "Bulk write must contain at least one field.": "Penulisan pukal mesti mengandungi sekurang-kurangnya satu medan." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert memerlukan kunci utama atau sasaran konflik indeks unik yang lengkap." "SonnetDB field type has not been mapped: {0}": "Jenis medan SonnetDB belum dipetakan: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Paparan SonnetDB [{0}] tidak menyediakan metadata medan." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Medan [{1}] paparan SonnetDB [{0}] tidak menyediakan jenis yang diisytiharkan boleh dipetakan. Lihat SonnetDB issue #261; metadata pengisytiharan paparan masih perlu dilengkapkan dan dikeluarkan." "SonnetDB does not support field type {0}.": "SonnetDB tidak menyokong jenis medan {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING belum menyokong perubahan kekangan panjang. Lihat SonnetDB issue #240; keupayaan ini masih perlu dilaksanakan dan dikeluarkan." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Mengubah identiti atau kunci utama pada lajur SonnetDB sedia ada memerlukan migrasi berasingan dan tidak boleh dilakukan melalui ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER akan kehilangan ketepatan eksplisit dan ditolak untuk mengekalkan semantik model. Lihat SonnetDB issue #241; masih perlu dibetulkan dan dikeluarkan." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB terbenam mencipta pangkalan data melalui direktori Data Source; konfigurasikan sambungan berasingan untuk direktori sasaran." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB terbenam tidak menyokong pemadaman direktori pangkalan data melalui SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB belum menyokong penyimpanan komen jadual dan lajur secara berterusan. Lihat SonnetDB issue #237; keupayaan ini mesti dilaksanakan dan dikeluarkan." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Medan {0}.{1} mengisytiharkan panjang {2}, tetapi STRING pada masa ini tidak menyokong kekangan panjang; belum selesai, lihat SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Belum selesai {0}: penyimpanan komen jadual dan lajur belum disokong; SonnetDB mesti melaksanakan dan mengeluarkannya, lihat issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Pemacu SQLite semasa tidak menyokong BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Algoritma penomboran halaman memerlukan lajur isihan! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Laluan carian VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minit" "实体缓存": "Cache entiti" "统计字段": "Medan statistik" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB menyokong tahap pengasingan transaksi ReadCommitted dan Serializable; tahap lain memerlukan pemetaan disokong yang jelas." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Medan [{1}] paparan SonnetDB [{0}] tidak menyediakan jenis yang diisytiharkan boleh dipetakan. Lihat SonnetDB issue #261. Kebolehan menerima NULL juga mesti diisytiharkan; jangan simpulkan jenis atau kebolehan NULL daripada baris pertama." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Medan [{1}] paparan SonnetDB [{0}] tidak menyediakan jenis yang diisytiharkan boleh dipetakan. Lihat SonnetDB issue #261." diff --git a/XCode/Locales/nb.yml b/XCode/Locales/nb.yml index 263e89b6f..d327a5234 100644 --- a/XCode/Locales/nb.yml +++ b/XCode/Locales/nb.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB støtter ikke oppretting av buckets via SQL. Bruk HTTP API eller CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB støtter ikke sletting av buckets via SQL. Bruk HTTP API eller CLI." "InfluxDB does not support altering columns.": "InfluxDB støtter ikke endring av kolonner." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET kan for øyeblikket ikke overstige Int32.MaxValue. Se SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 kan ikke bevare denne Decimal-verdien nøyaktig og avviste skrivingen. Se SonnetDB issue #235; støtte for nøyaktige decimal-parametere må fortsatt implementeres og utgis." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT bruker signert Int64 og støtter bare UInt64-verdier opp til Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME kan bare bevare millisekundpresisjon og avviste tider under ett millisekund. Se SonnetDB issue #236; full tidspresisjon må fortsatt implementeres og utgis." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Begrenset massesletting i SonnetDB krever for øyeblikket en enkeltkolonne primærnøkkel; tabeller med sammensatt eller ingen primærnøkkel kan ikke falle tilbake til ubegrenset sletting. Se SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB gir ennå ikke den fulle semantikken for dette transaksjonsisolasjonsnivået; bruk ReadCommitted. Se SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB-resultatet identifiserer ikke identitetskolonner, så det genererte nummeret kan ikke hentes trygt. Oppgrader til en SonnetDB-versjon som inkluderer RETURNING-kolonnenmetadata." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB støtter ennå ikke Replace-semantikken med å slette motstridende rader og sette inn nye rader. Se SonnetDB issue #242." "Bulk write must contain at least one field.": "Masseskriving må inneholde minst ett felt." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert krever en primærnøkkel eller et fullstendig unikt indekskonfliktmål." "SonnetDB field type has not been mapped: {0}": "SonnetDB-felttypen er ikke tilordnet: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB-visningen [{0}] ga ingen feltmetadata." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Feltet [{1}] i SonnetDB-visningen [{0}] ga ingen mapperbar deklarert type. Se SonnetDB issue #261; metadata for visningsdeklarasjonen må fortsatt fullføres og utgis." "SonnetDB does not support field type {0}.": "SonnetDB støtter ikke felttypen {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING støtter ennå ikke endring av lengdebegrensninger. Se SonnetDB issue #240; funksjonen må fortsatt implementeres og utgis." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Endring av identitet eller primærnøkkel på eksisterende SonnetDB-kolonner krever en separat migrering og kan ikke gjøres via ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER ville miste eksplisitt presisjon og ble avvist for å bevare modellsemantikken. Se SonnetDB issue #241; det må fortsatt rettes og utgis." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Innebygd SonnetDB oppretter databaser via Data Source-katalogen; konfigurer en separat tilkobling for målkatalogen." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Innebygd SonnetDB støtter ikke sletting av databasekatalogen via SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB støtter ennå ikke lagring av tabell- og kolonnekommentarer. Se SonnetDB issue #237; funksjonen må implementeres og utgis." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Feltet {0}.{1} erklærer lengden {2}, men STRING støtter for øyeblikket ikke lengdebegrensninger; venter, se SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Ufullstendig {0}: lagring av tabell- og kolonnekommentarer støttes ennå ikke; SonnetDB må implementere og utgi det, se issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Gjeldende SQLite-driver støtter ikke BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Sideinndelingsalgoritmen krever en sorteringskolonne! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase-søkebane (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minutt" "实体缓存": "Enhetsbuffer" "统计字段": "Statistikkfelt" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB støtter transaksjonsisolasjonsnivåene ReadCommitted og Serializable; andre nivåer krever en eksplisitt støttet tilordning." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Feltet [{1}] i SonnetDB-visningen [{0}] ga ingen mapperbar deklarert type. Se SonnetDB issue #261. Det må også deklareres om NULL er tillatt; ikke utled type eller NULL-egenskaper fra den første raden." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Feltet [{1}] i SonnetDB-visningen [{0}] ga ingen mapperbar deklarert type. Se SonnetDB issue #261." diff --git a/XCode/Locales/nl.yml b/XCode/Locales/nl.yml index ed2a7f009..6e87be015 100644 --- a/XCode/Locales/nl.yml +++ b/XCode/Locales/nl.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB ondersteunt het maken van buckets via SQL niet. Gebruik de HTTP-API of de CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB ondersteunt het verwijderen van buckets via SQL niet. Gebruik de HTTP-API of de CLI." "InfluxDB does not support altering columns.": "InfluxDB ondersteunt het wijzigen van kolommen niet." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET mag momenteel Int32.MaxValue niet overschrijden. Zie SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 kan deze Decimal-waarde niet exact bewaren en heeft de schrijfbewerking geweigerd. Zie SonnetDB issue #235; ondersteuning voor nauwkeurige decimal-parameters moet nog worden geïmplementeerd en uitgebracht." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT gebruikt een ondertekende Int64 en ondersteunt alleen UInt64-waarden tot Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME kan alleen millisecondeprecisie bewaren en heeft tijden onder één milliseconde geweigerd. Zie SonnetDB issue #236; volledige tijdprecisie moet nog worden geïmplementeerd en uitgebracht." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Beperkte bulkverwijdering in SonnetDB vereist momenteel een primaire sleutel met één kolom; tabellen met een samengestelde primaire sleutel of zonder primaire sleutel kunnen niet terugvallen op onbeperkt verwijderen. Zie SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB biedt nog niet de volledige semantiek van dit transactie-isolatieniveau; gebruik ReadCommitted. Zie SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Het SonnetDB-resultaat identificeert geen identiteitskolommen, dus het gegenereerde nummer kan niet veilig worden verkregen. Upgrade naar een SonnetDB-versie met RETURNING-kolommetagegevens." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB ondersteunt nog niet de Replace-semantiek van het verwijderen van conflicterende rijen en het invoegen van nieuwe rijen. Zie SonnetDB issue #242." "Bulk write must contain at least one field.": "Bulk-schrijfbewerking moet ten minste één veld bevatten." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert vereist een primaire sleutel of een volledig doel voor een unieke-indexconflict." "SonnetDB field type has not been mapped: {0}": "SonnetDB-veldtype is niet toegewezen: {0}" "SonnetDB view [{0}] did not provide field metadata.": "De SonnetDB-weergave [{0}] heeft geen veldmetagegevens geleverd." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Veld [{1}] van SonnetDB-weergave [{0}] heeft geen toewijsbaar gedeclareerd type geleverd. Zie SonnetDB issue #261; de metagegevens van de weergavedeclaratie moeten nog worden voltooid en uitgebracht." "SonnetDB does not support field type {0}.": "SonnetDB ondersteunt veldtype {0} niet." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING ondersteunt nog niet het wijzigen van lengtebeperkingen. Zie SonnetDB issue #240; de functie moet nog worden geïmplementeerd en uitgebracht." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Het wijzigen van de identiteit of primaire sleutel van bestaande SonnetDB-kolommen vereist een afzonderlijke migratie en kan niet via ALTER COLUMN worden uitgevoerd." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER zou de expliciete precisie verliezen en is geweigerd om de modelsemantiek te behouden. Zie SonnetDB issue #241; dit moet nog worden opgelost en uitgebracht." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Ingesloten SonnetDB maakt databases aan via de Data Source-map; configureer een afzonderlijke verbinding voor de doelmap." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Ingesloten SonnetDB ondersteunt het verwijderen van de databasemap via SQL niet." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB ondersteunt nog niet het persistent maken van tabel- en kolomopmerkingen. Zie SonnetDB issue #237; de functie moet worden geïmplementeerd en uitgebracht." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Veld {0}.{1} declareert lengte {2}, maar STRING ondersteunt momenteel geen lengtebeperkingen; in behandeling, zie SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Onvoltooid {0}: het persistent maken van tabel- en kolomopmerkingen wordt nog niet ondersteund; SonnetDB moet dit implementeren en uitbrengen, zie issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Het huidige SQLite-stuurprogramma ondersteunt BackupDatabase niet: {0}" "The paging algorithm requires a sort column! {0}": "Het pagineringsalgoritme vereist een sorteerkolom! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase-zoekpad (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuut" "实体缓存": "Entiteitscache" "统计字段": "Statistiekveld" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB ondersteunt de transactie-isolatieniveaus ReadCommitted en Serializable; andere niveaus vereisen een expliciete ondersteunde koppeling." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Veld [{1}] van SonnetDB-weergave [{0}] heeft geen toewijsbaar gedeclareerd type geleverd. Zie SonnetDB issue #261. Ook moet worden vastgelegd of NULL is toegestaan; leid het type of de NULL-eigenschappen niet af uit de eerste rij." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Veld [{1}] van SonnetDB-weergave [{0}] heeft geen toewijsbaar gedeclareerd type geleverd. Zie SonnetDB issue #261." diff --git a/XCode/Locales/pl.yml b/XCode/Locales/pl.yml index d26780f22..1ebe801c9 100644 --- a/XCode/Locales/pl.yml +++ b/XCode/Locales/pl.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB nie obsługuje tworzenia zasobników przez SQL. Użyj interfejsu HTTP API lub CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB nie obsługuje usuwania zasobników przez SQL. Użyj interfejsu HTTP API lub CLI." "InfluxDB does not support altering columns.": "InfluxDB nie obsługuje modyfikowania kolumn." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET obecnie nie może przekroczyć Int32.MaxValue. Zobacz SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 nie może dokładnie zachować tej wartości Decimal i odrzucił zapis. Zobacz SonnetDB issue #235; obsługa precyzyjnych parametrów decimal nadal wymaga implementacji i wydania." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT używa ze znakiem Int64 i obsługuje tylko wartości UInt64 do Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME może zachować tylko precyzję milisekundową i odrzucił czasy poniżej milisekundy. Zobacz SonnetDB issue #236; pełna obsługa precyzji czasu nadal wymaga implementacji i wydania." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Ograniczone zbiorcze usuwanie w SonnetDB obecnie wymaga klucza głównego z jednej kolumny; tabele z kluczem złożonym lub bez klucza głównego nie mogą przejść do nieograniczonego usuwania. Zobacz SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB nie zapewnia jeszcze pełnej semantyki tego poziomu izolacji transakcji; użyj ReadCommitted. Zobacz SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Wynik SonnetDB nie identyfikuje kolumn tożsamości, więc wygenerowanego numeru nie można bezpiecznie uzyskać. Uaktualnij do wersji SonnetDB zawierającej metadane kolumn RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB nie obsługuje jeszcze semantyki Replace polegającej na usuwaniu kolidujących wierszy i wstawianiu nowych. Zobacz SonnetDB issue #242." "Bulk write must contain at least one field.": "Zapis zbiorczy musi zawierać co najmniej jedno pole." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert wymaga klucza głównego lub pełnego celu konfliktu indeksu unikatowego." "SonnetDB field type has not been mapped: {0}": "Typ pola SonnetDB nie został zamapowany: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Widok SonnetDB [{0}] nie dostarczył metadanych pól." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Pole [{1}] widoku SonnetDB [{0}] nie dostarczyło mapowalnego zadeklarowanego typu. Zobacz SonnetDB issue #261; metadane deklaracji widoku nadal wymagają uzupełnienia i wydania." "SonnetDB does not support field type {0}.": "SonnetDB nie obsługuje typu pola {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING nie obsługuje jeszcze zmiany ograniczeń długości. Zobacz SonnetDB issue #240; funkcja nadal wymaga implementacji i wydania." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Zmiana tożsamości lub klucza głównego istniejących kolumn SonnetDB wymaga osobnej migracji i nie można jej wykonać przez ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER utraciłby jawną precyzję i został odrzucony, aby zachować semantykę modelu. Zobacz SonnetDB issue #241; nadal wymaga poprawy i wydania." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Osadzony SonnetDB tworzy bazy danych przez katalog Data Source; skonfiguruj osobną konfigurację połączenia dla katalogu docelowego." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Osadzony SonnetDB nie obsługuje usuwania katalogu bazy danych przez SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB nie obsługuje jeszcze trwałego przechowywania komentarzy tabel i kolumn. Zobacz SonnetDB issue #237; funkcja musi zostać zaimplementowana i wydana." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Pole {0}.{1} deklaruje długość {2}, ale STRING obecnie nie obsługuje ograniczeń długości; oczekuje, zobacz SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Nieukończone {0}: trwałe przechowywanie komentarzy tabel i kolumn nie jest jeszcze obsługiwane; SonnetDB musi to zaimplementować i wydać, zobacz issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Bieżący sterownik SQLite nie obsługuje BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Algorytm stronicowania wymaga kolumny sortowania! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Ścieżka wyszukiwania VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuta" "实体缓存": "Pamięć podręczna encji" "统计字段": "Pole statystyk" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB obsługuje poziomy izolacji transakcji ReadCommitted i Serializable; inne poziomy wymagają jawnego obsługiwanego mapowania." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Pole [{1}] widoku SonnetDB [{0}] nie dostarczyło mapowalnego zadeklarowanego typu. Zobacz SonnetDB issue #261. Należy również zadeklarować dopuszczalność NULL; nie należy wnioskować o typie ani dopuszczalności NULL na podstawie pierwszego wiersza." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Pole [{1}] widoku SonnetDB [{0}] nie dostarczyło mapowalnego zadeklarowanego typu. Zobacz SonnetDB issue #261." diff --git a/XCode/Locales/pt.yml b/XCode/Locales/pt.yml index 7824cb863..04368aac0 100644 --- a/XCode/Locales/pt.yml +++ b/XCode/Locales/pt.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "O InfluxDB não oferece suporte à criação de buckets via SQL. Use a API HTTP ou a CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "O InfluxDB não oferece suporte à exclusão de buckets via SQL. Use a API HTTP ou a CLI." "InfluxDB does not support altering columns.": "O InfluxDB não oferece suporte à alteração de colunas." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "O LIMIT/OFFSET do SonnetDB atualmente não pode exceder Int32.MaxValue. Consulte SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "O SonnetDB 4.0.0 não consegue preservar exatamente este valor Decimal e rejeitou a gravação. Consulte SonnetDB issue #235; o suporte a parâmetros decimal precisos ainda precisa ser implementado e lançado." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "O SonnetDB INT usa Int64 com sinal e oferece suporte apenas a valores UInt64 até Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "O SonnetDB 4.0.0 DATETIME só consegue preservar precisão de milissegundos e rejeitou tempos abaixo de um milissegundo. Consulte SonnetDB issue #236; o suporte completo à precisão temporal ainda precisa ser implementado e lançado." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "A exclusão em massa limitada no SonnetDB atualmente exige uma chave primária de coluna única; tabelas com chave primária composta ou sem chave primária não podem recorrer à exclusão ilimitada. Consulte SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "O SonnetDB ainda não fornece a semântica completa deste nível de isolamento de transação; use ReadCommitted. Consulte SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "O resultado do SonnetDB não identifica colunas de identidade, portanto o número gerado não pode ser obtido com segurança. Atualize para uma versão do SonnetDB que inclua metadados de coluna RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "O SonnetDB ainda não oferece suporte à semântica Replace de excluir linhas conflitantes e inserir novas linhas. Consulte SonnetDB issue #242." "Bulk write must contain at least one field.": "A gravação em massa deve conter pelo menos um campo." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "O SonnetDB Upsert exige uma chave primária ou um destino de conflito de índice exclusivo completo." "SonnetDB field type has not been mapped: {0}": "O tipo de campo do SonnetDB não foi mapeado: {0}" "SonnetDB view [{0}] did not provide field metadata.": "A exibição do SonnetDB [{0}] não forneceu metadados de campo." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "O campo [{1}] da exibição do SonnetDB [{0}] não forneceu um tipo declarado mapeável. Consulte SonnetDB issue #261; os metadados de declaração da exibição ainda precisam ser concluídos e lançados." "SonnetDB does not support field type {0}.": "O SonnetDB não oferece suporte ao tipo de campo {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "O SonnetDB STRING ainda não oferece suporte à alteração de restrições de comprimento. Consulte SonnetDB issue #240; o recurso ainda precisa ser implementado e lançado." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Alterar a identidade ou a chave primária em colunas existentes do SonnetDB exige uma migração separada e não pode ser feito por ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "O SonnetDB 4.0.0 DECIMAL ADD/ALTER perderia a precisão explícita e foi rejeitado para preservar a semântica do modelo. Consulte SonnetDB issue #241; ainda precisa ser corrigido e lançado." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "O SonnetDB incorporado cria bancos de dados por meio do diretório Data Source; configure uma conexão separada para o diretório de destino." "Embedded SonnetDB does not support deleting the database directory via SQL.": "O SonnetDB incorporado não oferece suporte à exclusão do diretório do banco de dados via SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "O SonnetDB ainda não oferece suporte à persistência de comentários de tabelas e colunas. Consulte SonnetDB issue #237; o recurso precisa ser implementado e lançado." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] O campo {0}.{1} declara o comprimento {2}, mas o STRING atualmente não oferece suporte a restrições de comprimento; pendente, consulte SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Incompleto {0}: a persistência de comentários de tabelas e colunas ainda não é suportada; o SonnetDB precisa implementá-la e lançá-la, consulte issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "O driver SQLite atual não oferece suporte a BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "O algoritmo de paginação exige uma coluna de classificação! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Caminho de pesquisa do VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minuto" "实体缓存": "Cache de entidades" "统计字段": "Campo de estatísticas" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB suporta os níveis de isolamento de transações ReadCommitted e Serializable; outros níveis exigem um mapeamento explícito suportado." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "O campo [{1}] da exibição do SonnetDB [{0}] não forneceu um tipo declarado mapeável. Consulte SonnetDB issue #261. A aceitação de NULL também deve ser declarada; não deduza o tipo nem a aceitação de NULL a partir da primeira linha." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "O campo [{1}] da exibição do SonnetDB [{0}] não forneceu um tipo declarado mapeável. Consulte SonnetDB issue #261." diff --git a/XCode/Locales/ro.yml b/XCode/Locales/ro.yml index c8c714de5..bed57e850 100644 --- a/XCode/Locales/ro.yml +++ b/XCode/Locales/ro.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB nu acceptă crearea de bucket-uri prin SQL. Utilizați API-ul HTTP sau CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB nu acceptă ștergerea de bucket-uri prin SQL. Utilizați API-ul HTTP sau CLI." "InfluxDB does not support altering columns.": "InfluxDB nu acceptă modificarea coloanelor." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET nu poate depăși momentan Int32.MaxValue. Consultați SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 nu poate păstra exact această valoare Decimal și a respins scrierea. Consultați SonnetDB issue #235; suportul pentru parametri decimal precisi trebuie încă implementat și lansat." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT utilizează Int64 cu semn și acceptă numai valori UInt64 până la Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME poate păstra numai precizia la milisecunde și a respins timpii sub o milisecundă. Consultați SonnetDB issue #236; suportul complet pentru precizia timpului trebuie încă implementat și lansat." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Ștergerea în bloc limitată în SonnetDB necesită momentan o cheie primară cu o singură coloană; tabelele cu cheie primară compusă sau fără cheie primară nu pot recurge la ștergere nelimitată. Consultați SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB nu oferă încă semantica completă a acestui nivel de izolare a tranzacțiilor; utilizați ReadCommitted. Consultați SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Rezultatul SonnetDB nu identifică coloanele de identitate, astfel încât numărul generat nu poate fi obținut în siguranță. Actualizați la o versiune SonnetDB care include metadatele coloanelor RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB nu acceptă încă semantica Replace de ștergere a rândurilor conflictuale și inserare a rândurilor noi. Consultați SonnetDB issue #242." "Bulk write must contain at least one field.": "Scrierea în bloc trebuie să conțină cel puțin un câmp." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert necesită o cheie primară sau o țintă completă de conflict de index unic." "SonnetDB field type has not been mapped: {0}": "Tipul de câmp SonnetDB nu a fost mapat: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Vizualizarea SonnetDB [{0}] nu a furnizat metadate despre câmpuri." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Câmpul [{1}] al vizualizării SonnetDB [{0}] nu a furnizat un tip declarat mapabil. Consultați SonnetDB issue #261; metadatele declarației vizualizării trebuie încă finalizate și lansate." "SonnetDB does not support field type {0}.": "SonnetDB nu acceptă tipul de câmp {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING nu acceptă încă modificarea constrângerilor de lungime. Consultați SonnetDB issue #240; funcția trebuie încă implementată și lansată." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Modificarea identității sau a cheii primare a coloanelor SonnetDB existente necesită o migrare separată și nu poate fi realizată prin ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER ar pierde precizia explicită și a fost respins pentru a păstra semantica modelului. Consultați SonnetDB issue #241; trebuie încă corectat și lansat." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB încorporat creează baze de date prin directorul Data Source; configurați o conexiune separată pentru directorul țintă." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB încorporat nu acceptă ștergerea directorului bazei de date prin SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB nu acceptă încă persistarea comentariilor pentru tabele și coloane. Consultați SonnetDB issue #237; funcția trebuie implementată și lansată." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Câmpul {0}.{1} declară lungimea {2}, dar STRING nu acceptă momentan constrângeri de lungime; în așteptare, consultați SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Incomplet {0}: persistarea comentariilor pentru tabele și coloane nu este încă acceptată; SonnetDB trebuie să o implementeze și să o lanseze, consultați issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Driverul SQLite actual nu acceptă BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Algoritmul de paginare necesită o coloană de sortare! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Cale de căutare VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minut" "实体缓存": "Cache de entități" "统计字段": "Câmp de statistici" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB acceptă nivelurile de izolare a tranzacțiilor ReadCommitted și Serializable; alte niveluri necesită o mapare explicită acceptată." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Câmpul [{1}] al vizualizării SonnetDB [{0}] nu a furnizat un tip declarat mapabil. Consultați SonnetDB issue #261. Trebuie declarată și acceptarea valorii NULL; nu deduceți tipul sau acceptarea NULL din primul rând." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Câmpul [{1}] al vizualizării SonnetDB [{0}] nu a furnizat un tip declarat mapabil. Consultați SonnetDB issue #261." diff --git a/XCode/Locales/ru.yml b/XCode/Locales/ru.yml index 06faf6ceb..d1f8c271f 100644 --- a/XCode/Locales/ru.yml +++ b/XCode/Locales/ru.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB не поддерживает создание bucket через SQL. Используйте HTTP API или CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB не поддерживает удаление bucket через SQL. Используйте HTTP API или CLI." "InfluxDB does not support altering columns.": "InfluxDB не поддерживает изменение столбцов." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET в настоящее время не может превышать Int32.MaxValue. См. SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 не может точно сохранить это значение Decimal и отклонил запись. См. SonnetDB issue #235; поддержку точных параметров decimal ещё предстоит реализовать и выпустить." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT использует знаковый Int64 и поддерживает только значения UInt64 до Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME может сохранять только точность до миллисекунд и отклонил значения меньше миллисекунды. См. SonnetDB issue #236; полную поддержку точности времени ещё предстоит реализовать и выпустить." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Ограниченное массовое удаление в SonnetDB в настоящее время требует одностолбцового первичного ключа; таблицы с составным первичным ключом или без него не могут перейти к неограниченному удалению. См. SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB пока не обеспечивает полную семантику этого уровня изоляции транзакций; используйте ReadCommitted. См. SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Результат SonnetDB не определяет столбцы идентификаторов, поэтому сгенерированный номер нельзя безопасно получить. Обновитесь до версии SonnetDB с метаданными столбцов RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB пока не поддерживает семантику Replace с удалением конфликтующих строк и вставкой новых строк. См. SonnetDB issue #242." "Bulk write must contain at least one field.": "Массовая запись должна содержать хотя бы одно поле." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert требует первичный ключ или полную цель конфликта уникального индекса." "SonnetDB field type has not been mapped: {0}": "Тип поля SonnetDB не сопоставлен: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Представление SonnetDB [{0}] не предоставило метаданные полей." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Поле [{1}] представления SonnetDB [{0}] не предоставило сопоставимый объявленный тип. См. SonnetDB issue #261; метаданные объявления представления ещё предстоит дополнить и выпустить." "SonnetDB does not support field type {0}.": "SonnetDB не поддерживает тип поля {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING пока не поддерживает изменение ограничений длины. См. SonnetDB issue #240; возможность ещё предстоит реализовать и выпустить." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Изменение идентификатора или первичного ключа существующих столбцов SonnetDB требует отдельной миграции и не может быть выполнено через ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER потеряет явную точность и был отклонён для сохранения семантики модели. См. SonnetDB issue #241; это ещё предстоит исправить и выпустить." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Встроенный SonnetDB создаёт базы данных через каталог Data Source; настройте отдельное подключение для целевого каталога." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Встроенный SonnetDB не поддерживает удаление каталога базы данных через SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB пока не поддерживает сохранение комментариев к таблицам и столбцам. См. SonnetDB issue #237; возможность необходимо реализовать и выпустить." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Поле {0}.{1} объявляет длину {2}, но STRING в настоящее время не поддерживает ограничения длины; ожидает обработки, см. SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Не завершено {0}: сохранение комментариев к таблицам и столбцам пока не поддерживается; SonnetDB должен реализовать и выпустить эту возможность, см. issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Текущий драйвер SQLite не поддерживает BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Алгоритм разбиения на страницы требует столбец сортировки! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Путь поиска VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Минута" "实体缓存": "Кэш сущностей" "统计字段": "Поле статистики" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB поддерживает уровни изоляции транзакций ReadCommitted и Serializable; для других уровней требуется явное поддерживаемое сопоставление." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Поле [{1}] представления SonnetDB [{0}] не предоставило сопоставимый объявленный тип. См. SonnetDB issue #261. Допустимость NULL также должна быть объявлена; не определяйте тип или допустимость NULL по первой строке." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Поле [{1}] представления SonnetDB [{0}] не предоставило сопоставимый объявленный тип. См. SonnetDB issue #261." diff --git a/XCode/Locales/sv.yml b/XCode/Locales/sv.yml index 0fb15b06a..07b3e0c0c 100644 --- a/XCode/Locales/sv.yml +++ b/XCode/Locales/sv.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB stöder inte att skapa buckets via SQL. Använd HTTP-API eller CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB stöder inte att ta bort buckets via SQL. Använd HTTP-API eller CLI." "InfluxDB does not support altering columns.": "InfluxDB stöder inte att ändra kolumner." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET kan för närvarande inte överskrida Int32.MaxValue. Se SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 kan inte bevara detta Decimal-värde exakt och avvisade skrivningen. Se SonnetDB issue #235; stöd för exakta decimal-parametrar måste fortfarande implementeras och släppas." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT använder signerat Int64 och stöder endast UInt64-värden upp till Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME kan endast bevara millisekundprecision och avvisade tider under en millisekund. Se SonnetDB issue #236; full tidsprecision måste fortfarande implementeras och släppas." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Begränsad massborttagning i SonnetDB kräver för närvarande en primärnyckel med en kolumn; tabeller med sammansatt eller ingen primärnyckel kan inte falla tillbaka till obegränsad borttagning. Se SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB tillhandahåller ännu inte den fullständiga semantiken för denna transaktionsisoleringsnivå; använd ReadCommitted. Se SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB-resultatet identifierar inte identitetskolumner, så det genererade numret kan inte hämtas säkert. Uppgradera till en SonnetDB-version som innehåller RETURNING-kolumnmetadata." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB stöder ännu inte Replace-semantiken att ta bort motstridiga rader och infoga nya rader. Se SonnetDB issue #242." "Bulk write must contain at least one field.": "Masskrivning måste innehålla minst ett fält." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert kräver en primärnyckel eller ett fullständigt unikt indexkonfliktmål." "SonnetDB field type has not been mapped: {0}": "SonnetDB-fälttypen har inte mappats: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB-vyn [{0}] gav ingen fältmetadata." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Fältet [{1}] i SonnetDB-vyn [{0}] gav ingen mappbar deklarerad typ. Se SonnetDB issue #261; metadata för vydeklarationen måste fortfarande slutföras och släppas." "SonnetDB does not support field type {0}.": "SonnetDB stöder inte fälttypen {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING stöder ännu inte ändring av längdbegränsningar. Se SonnetDB issue #240; funktionen måste fortfarande implementeras och släppas." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Ändring av identitet eller primärnyckel på befintliga SonnetDB-kolumner kräver en separat migrering och kan inte göras via ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER skulle förlora explicit precision och avvisades för att bevara modellsemantiken. Se SonnetDB issue #241; det måste fortfarande åtgärdas och släppas." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Inbäddad SonnetDB skapar databaser via Data Source-katalogen; konfigurera en separat anslutning för målkatalogen." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Inbäddad SonnetDB stöder inte borttagning av databaskatalogen via SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB stöder ännu inte beständiga tabell- och kolumnkommentarer. Se SonnetDB issue #237; funktionen måste implementeras och släppas." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Fältet {0}.{1} deklarerar längden {2}, men STRING stöder för närvarande inte längdbegränsningar; väntar, se SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Ofullständig {0}: beständiga tabell- och kolumnkommentarer stöds ännu inte; SonnetDB måste implementera och släppa det, se issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Den aktuella SQLite-drivrutinen stöder inte BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Sidindelningsalgoritmen kräver en sorteringskolumn! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase-sökväg (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Minut" "实体缓存": "Entitetscache" "统计字段": "Statistikfält" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB stöder transaktionsisoleringsnivåerna ReadCommitted och Serializable; andra nivåer kräver en uttrycklig mappning som stöds." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Fältet [{1}] i SonnetDB-vyn [{0}] gav ingen mappbar deklarerad typ. Se SonnetDB issue #261. Det måste också deklareras om NULL tillåts; härled inte typ eller NULL-egenskaper från den första raden." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Fältet [{1}] i SonnetDB-vyn [{0}] gav ingen mappbar deklarerad typ. Se SonnetDB issue #261." diff --git a/XCode/Locales/th.yml b/XCode/Locales/th.yml index bd02b4a27..fe2117398 100644 --- a/XCode/Locales/th.yml +++ b/XCode/Locales/th.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB ไม่รองรับการสร้างบัคเก็ตผ่าน SQL ใช้ HTTP API หรือ CLI" "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB ไม่รองรับการลบบัคเก็ตผ่าน SQL ใช้ HTTP API หรือ CLI" "InfluxDB does not support altering columns.": "InfluxDB ไม่รองรับการแก้ไขคอลัมน์" -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET ในปัจจุบันต้องไม่เกิน Int32.MaxValue ดู SonnetDB issue #256" -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 ไม่สามารถรักษาค่า Decimal นี้ได้อย่างแม่นยำและปฏิเสธการเขียน ดู SonnetDB issue #235; ยังต้องนำการรองรับพารามิเตอร์ decimal ที่แม่นยำไปใช้และเผยแพร่" "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT ใช้ Int64 ที่มีเครื่องหมายและรองรับเฉพาะค่า UInt64 จนถึง Int64.MaxValue" -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME สามารถรักษาความแม่นยำระดับมิลลิวินาทีเท่านั้นและปฏิเสธเวลาที่ต่ำกว่าหนึ่งมิลลิวินาที ดู SonnetDB issue #236; ยังต้องนำการรองรับความแม่นยำของเวลาแบบเต็มไปใช้และเผยแพร่" -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "การลบแบบกลุ่มที่มีขอบเขตใน SonnetDB ในปัจจุบันต้องใช้คีย์หลักคอลัมน์เดียว ตารางที่มีคีย์หลักแบบผสมหรือไม่มีคีย์หลักไม่สามารถเปลี่ยนไปใช้การลบแบบไม่มีขอบเขตได้ ดู SonnetDB issue #243" -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB ยังไม่มีความหมาย کاملของระดับการแยกทรานแซกชันนี้ ใช้ ReadCommitted ดู SonnetDB issue #225" "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "ผลลัพธ์ของ SonnetDB ไม่ระบุคอลัมน์ข้อมูลประจำตัว จึงไม่สามารถรับหมายเลขที่สร้างขึ้นได้อย่างปลอดภัย อัปเกรดเป็นเวอร์ชัน SonnetDB ที่มีข้อมูลเมตาคอลัมน์ RETURNING" -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB ยังไม่รองรับความหมายของ Replace ที่ลบแถวที่ขัดแย้งแล้วแทรกแถวใหม่ ดู SonnetDB issue #242" "Bulk write must contain at least one field.": "การเขียนแบบกลุ่มต้องมีอย่างน้อยหนึ่งฟิลด์" "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert ต้องใช้คีย์หลักหรือเป้าหมายความขัดแย้งของดัชนีเฉพาะที่สมบูรณ์" "SonnetDB field type has not been mapped: {0}": "ยังไม่ได้แมปชนิดฟิลด์ SonnetDB: {0}" "SonnetDB view [{0}] did not provide field metadata.": "มุมมอง SonnetDB [{0}] ไม่ได้ให้ข้อมูลเมตาของฟิลด์" -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "ฟิลด์ [{1}] ของมุมมอง SonnetDB [{0}] ไม่ได้ให้ชนิดที่ประกาศซึ่งแมปได้ ดู SonnetDB issue #261; ยังต้องทำให้ข้อมูลเมตาการประกาศมุมมองสมบูรณ์และเผยแพร่" "SonnetDB does not support field type {0}.": "SonnetDB ไม่รองรับชนิดฟิลด์ {0}" -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING ยังไม่รองรับการเปลี่ยนข้อจำกัดความยาว ดู SonnetDB issue #240; ยังต้องนำความสามารถไปใช้และเผยแพร่" "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "การเปลี่ยนข้อมูลประจำตัวหรือคีย์หลักของคอลัมน์ SonnetDB ที่มีอยู่ต้องใช้การย้ายข้อมูลแยกต่างหากและไม่สามารถทำผ่าน ALTER COLUMN ได้" -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER จะสูญเสียความแม่นยำที่ระบุไว้และถูกปฏิเสธเพื่อรักษาความหมายของโมเดล ดู SonnetDB issue #241; ยังต้องแก้ไขและเผยแพร่" "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB แบบฝังสร้างฐานข้อมูลผ่านไดเรกทอรี Data Source; กำหนดค่าการเชื่อมต่อแยกต่างหากสำหรับไดเรกทอรีเป้าหมาย" "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB แบบฝังไม่รองรับการลบไดเรกทอรีฐานข้อมูลผ่าน SQL" -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB ยังไม่รองรับการเก็บความคิดเห็นของตารางและคอลัมน์อย่างถาวร ดู SonnetDB issue #237; ต้องนำความสามารถไปใช้และเผยแพร่" -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] ฟิลด์ {0}.{1} ประกาศความยาว {2} แต่ STRING ในปัจจุบันไม่รองรับข้อจำกัดความยาว; รอดำเนินการ ดู SonnetDB issue #240" -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] ยังไม่เสร็จสิ้น {0}: ยังไม่รองรับการเก็บความคิดเห็นของตารางและคอลัมน์อย่างถาวร; SonnetDB ต้องนำไปใช้และเผยแพร่ ดู issue #237" "The current SQLite driver does not support BackupDatabase: {0}": "ไดรเวอร์ SQLite ปัจจุบันไม่รองรับ BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "อัลกอริทึมการแบ่งหน้าต้องใช้คอลัมน์การเรียงลำดับ! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]พาธค้นหา VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "นาที" "实体缓存": "แคชเอนทิตี" "统计字段": "ฟิลด์สถิติ" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB รองรับระดับการแยกธุรกรรม ReadCommitted และ Serializable ระดับอื่นต้องมีการแมปที่รองรับอย่างชัดเจน" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "ฟิลด์ [{1}] ของมุมมอง SonnetDB [{0}] ไม่ได้ให้ชนิดที่ประกาศซึ่งแมปได้ ดู SonnetDB issue #261. ต้องประกาศด้วยว่าอนุญาต NULL หรือไม่ ห้ามอนุมานชนิดหรือการอนุญาต NULL จากแถวแรก" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "ฟิลด์ [{1}] ของมุมมอง SonnetDB [{0}] ไม่ได้ให้ชนิดที่ประกาศซึ่งแมปได้ ดู SonnetDB issue #261." diff --git a/XCode/Locales/tr.yml b/XCode/Locales/tr.yml index 5aa711c3f..ee997e78f 100644 --- a/XCode/Locales/tr.yml +++ b/XCode/Locales/tr.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB, SQL aracılığıyla bucket oluşturmayı desteklemez. HTTP API veya CLI kullanın." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB, SQL aracılığıyla bucket silmeyi desteklemez. HTTP API veya CLI kullanın." "InfluxDB does not support altering columns.": "InfluxDB sütun değiştirmeyi desteklemez." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET şu anda Int32.MaxValue değerini aşamaz. SonnetDB issue #256 konusuna bakın." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 bu Decimal değerini tam olarak koruyamaz ve yazmayı reddetti. SonnetDB issue #235 konusuna bakın; kesin decimal parametre desteğinin hâlâ uygulanması ve yayımlanması gerekiyor." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT, işaretli Int64 kullanır ve yalnızca Int64.MaxValue değerine kadar UInt64 değerlerini destekler." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME yalnızca milisaniye hassasiyetini koruyabilir ve milisaniyenin altındaki süreleri reddetti. SonnetDB issue #236 konusuna bakın; tam zaman hassasiyeti desteğinin hâlâ uygulanması ve yayımlanması gerekiyor." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB'de sınırlı toplu silme şu anda tek sütunlu bir birincil anahtar gerektirir; bileşik birincil anahtara sahip veya birincil anahtarı olmayan tablolar sınırsız silmeye geri dönemez. SonnetDB issue #243 konusuna bakın." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB bu işlem yalıtım düzeyinin tam semantiğini henüz sağlamıyor; ReadCommitted kullanın. SonnetDB issue #225 konusuna bakın." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB sonucu kimlik sütunlarını tanımlamıyor, bu nedenle oluşturulan sayı güvenli bir şekilde alınamıyor. RETURNING sütun meta verilerini içeren bir SonnetDB sürümüne yükseltin." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB, çakışan satırları silip yeni satırlar ekleyen Replace semantiğini henüz desteklemiyor. SonnetDB issue #242 konusuna bakın." "Bulk write must contain at least one field.": "Toplu yazma en az bir alan içermelidir." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert bir birincil anahtar veya tam bir benzersiz dizin çakışma hedefi gerektirir." "SonnetDB field type has not been mapped: {0}": "SonnetDB alan türü eşlenmedi: {0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB görünümü [{0}] alan meta verilerini sağlamadı." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB görünümü [{0}] alanı [{1}] eşlenebilir bir bildirilen tür sağlamadı. SonnetDB issue #261 konusuna bakın; görünüm bildirimi meta verilerinin hâlâ tamamlanması ve yayımlanması gerekiyor." "SonnetDB does not support field type {0}.": "SonnetDB {0} alan türünü desteklemiyor." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING uzunluk kısıtlamalarını değiştirmeyi henüz desteklemiyor. SonnetDB issue #240 konusuna bakın; özelliğin hâlâ uygulanması ve yayımlanması gerekiyor." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Mevcut SonnetDB sütunlarında kimlik veya birincil anahtarı değiştirmek ayrı bir geçiş gerektirir ve ALTER COLUMN ile yapılamaz." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER açık hassasiyeti kaybeder ve model semantiğini korumak için reddedildi. SonnetDB issue #241 konusuna bakın; hâlâ düzeltilmesi ve yayımlanması gerekiyor." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Katıştırılmış SonnetDB, veritabanlarını Data Source dizini aracılığıyla oluşturur; hedef dizin için ayrı bir bağlantı yapılandırın." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Katıştırılmış SonnetDB, veritabanı dizinini SQL aracılığıyla silmeyi desteklemez." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB, tablo ve sütun açıklamalarının kalıcı olarak saklanmasını henüz desteklemiyor. SonnetDB issue #237 konusuna bakın; özelliğin uygulanması ve yayımlanması gerekiyor." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] {0}.{1} alanı {2} uzunluğunu bildiriyor, ancak STRING şu anda uzunluk kısıtlamalarını desteklemiyor; beklemede, SonnetDB issue #240 konusuna bakın." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Tamamlanmadı {0}: tablo ve sütun açıklamalarının kalıcı olarak saklanması henüz desteklenmiyor; SonnetDB bunu uygulamalı ve yayımlamalıdır, issue #237 konusuna bakın." "The current SQLite driver does not support BackupDatabase: {0}": "Geçerli SQLite sürücüsü BackupDatabase'i desteklemiyor: {0}" "The paging algorithm requires a sort column! {0}": "Sayfalama algoritması bir sıralama sütunu gerektirir! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase arama yolu (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Dakika" "实体缓存": "Varlık önbelleği" "统计字段": "İstatistik alanı" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB, ReadCommitted ve Serializable işlem yalıtım düzeylerini destekler; diğer düzeyler açık ve desteklenen bir eşleme gerektirir." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB görünümü [{0}] alanı [{1}] eşlenebilir bir bildirilen tür sağlamadı. SonnetDB issue #261. NULL kabulü de bildirilmelidir; türü veya NULL kabulünü ilk satırdan çıkarsamayın." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB görünümü [{0}] alanı [{1}] eşlenebilir bir bildirilen tür sağlamadı. SonnetDB issue #261." diff --git a/XCode/Locales/uk.yml b/XCode/Locales/uk.yml index bd61dcd69..57d97c42d 100644 --- a/XCode/Locales/uk.yml +++ b/XCode/Locales/uk.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB не підтримує створення bucket через SQL. Використовуйте HTTP API або CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB не підтримує видалення bucket через SQL. Використовуйте HTTP API або CLI." "InfluxDB does not support altering columns.": "InfluxDB не підтримує змінення стовпців." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET наразі не може перевищувати Int32.MaxValue. Див. SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 не може точно зберегти це значення Decimal і відхилив запис. Див. SonnetDB issue #235; підтримку точних параметрів decimal ще потрібно реалізувати й випустити." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT використовує знаковий Int64 і підтримує лише значення UInt64 до Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME може зберігати лише точність до мілісекунд і відхилив часи, менші за мілісекунду. Див. SonnetDB issue #236; повну підтримку точності часу ще потрібно реалізувати й випустити." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Обмежене масове видалення в SonnetDB наразі потребує одностовпцевого первинного ключа; таблиці зі складеним первинним ключем або без нього не можуть перейти до необмеженого видалення. Див. SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB поки не забезпечує повну семантику цього рівня ізоляції транзакцій; використовуйте ReadCommitted. Див. SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Результат SonnetDB не визначає стовпці ідентифікаторів, тому згенерований номер не можна безпечно отримати. Оновіться до версії SonnetDB з метаданими стовпців RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB поки не підтримує семантику Replace з видаленням конфліктних рядків і вставленням нових. Див. SonnetDB issue #242." "Bulk write must contain at least one field.": "Масовий запис має містити принаймні одне поле." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert потребує первинного ключа або повної цілі конфлікту унікального індексу." "SonnetDB field type has not been mapped: {0}": "Тип поля SonnetDB не зіставлено: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Подання SonnetDB [{0}] не надало метадані полів." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Поле [{1}] подання SonnetDB [{0}] не надало зіставлюваний оголошений тип. Див. SonnetDB issue #261; метадані оголошення подання ще потрібно доповнити й випустити." "SonnetDB does not support field type {0}.": "SonnetDB не підтримує тип поля {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING поки не підтримує змінення обмежень довжини. Див. SonnetDB issue #240; можливість ще потрібно реалізувати й випустити." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Змінення ідентифікатора або первинного ключа наявних стовпців SonnetDB потребує окремої міграції й не може бути виконане через ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER втратить явну точність і був відхилений для збереження семантики моделі. Див. SonnetDB issue #241; це ще потрібно виправити й випустити." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "Вбудований SonnetDB створює бази даних через каталог Data Source; налаштуйте окреме підключення для цільового каталогу." "Embedded SonnetDB does not support deleting the database directory via SQL.": "Вбудований SonnetDB не підтримує видалення каталогу бази даних через SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB поки не підтримує збереження коментарів до таблиць і стовпців. Див. SonnetDB issue #237; можливість потрібно реалізувати й випустити." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Поле {0}.{1} оголошує довжину {2}, але STRING наразі не підтримує обмеження довжини; очікує обробки, див. SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Незавершено {0}: збереження коментарів до таблиць і стовпців поки не підтримується; SonnetDB має реалізувати й випустити цю можливість, див. issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Поточний драйвер SQLite не підтримує BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Алгоритм посторінкового виведення потребує стовпця сортування! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Шлях пошуку VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Хвилина" "实体缓存": "Кеш сутностей" "统计字段": "Поле статистики" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB підтримує рівні ізоляції транзакцій ReadCommitted і Serializable; для інших рівнів потрібне явне підтримуване зіставлення." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Поле [{1}] подання SonnetDB [{0}] не надало зіставлюваний оголошений тип. Див. SonnetDB issue #261. Допустимість NULL також має бути оголошена; не визначайте тип або допустимість NULL за першим рядком." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Поле [{1}] подання SonnetDB [{0}] не надало зіставлюваний оголошений тип. Див. SonnetDB issue #261." diff --git a/XCode/Locales/vi.yml b/XCode/Locales/vi.yml index 4c30b5c75..b806462fd 100644 --- a/XCode/Locales/vi.yml +++ b/XCode/Locales/vi.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB không hỗ trợ tạo bucket qua SQL. Dùng HTTP API hoặc CLI." "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB không hỗ trợ xóa bucket qua SQL. Dùng HTTP API hoặc CLI." "InfluxDB does not support altering columns.": "InfluxDB không hỗ trợ sửa đổi cột." -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB LIMIT/OFFSET hiện không thể vượt quá Int32.MaxValue. Xem SonnetDB issue #256." -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 không thể giữ chính xác giá trị Decimal này và đã từ chối ghi. Xem SonnetDB issue #235; hỗ trợ tham số decimal chính xác vẫn cần được triển khai và phát hành." "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB INT dùng Int64 có dấu và chỉ hỗ trợ giá trị UInt64 đến Int64.MaxValue." -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 DATETIME chỉ có thể giữ độ chính xác mili giây và đã từ chối thời gian dưới một mili giây. Xem SonnetDB issue #236; hỗ trợ độ chính xác thời gian đầy đủ vẫn cần được triển khai và phát hành." -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "Xóa hàng loạt có giới hạn trong SonnetDB hiện yêu cầu khóa chính một cột; bảng có khóa chính phức hợp hoặc không có khóa chính không thể chuyển sang xóa không giới hạn. Xem SonnetDB issue #243." -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB chưa cung cấp đầy đủ ngữ nghĩa của mức cô lập giao dịch này; dùng ReadCommitted. Xem SonnetDB issue #225." "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "Kết quả SonnetDB không xác định cột nhận dạng, nên không thể lấy số đã tạo một cách an toàn. Nâng cấp lên phiên bản SonnetDB có siêu dữ liệu cột RETURNING." -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB chưa hỗ trợ ngữ nghĩa Replace là xóa các hàng xung đột rồi chèn hàng mới. Xem SonnetDB issue #242." "Bulk write must contain at least one field.": "Ghi hàng loạt phải chứa ít nhất một trường." "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB Upsert yêu cầu khóa chính hoặc mục tiêu xung đột chỉ mục duy nhất đầy đủ." "SonnetDB field type has not been mapped: {0}": "Kiểu trường SonnetDB chưa được ánh xạ: {0}" "SonnetDB view [{0}] did not provide field metadata.": "Chế độ xem SonnetDB [{0}] không cung cấp siêu dữ liệu trường." -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "Trường [{1}] của chế độ xem SonnetDB [{0}] không cung cấp kiểu khai báo có thể ánh xạ. Xem SonnetDB issue #261; siêu dữ liệu khai báo chế độ xem vẫn cần được hoàn thiện và phát hành." "SonnetDB does not support field type {0}.": "SonnetDB không hỗ trợ kiểu trường {0}." -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB STRING chưa hỗ trợ thay đổi ràng buộc độ dài. Xem SonnetDB issue #240; khả năng này vẫn cần được triển khai và phát hành." "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "Thay đổi nhận dạng hoặc khóa chính trên các cột SonnetDB hiện có cần di chuyển riêng và không thể thực hiện qua ALTER COLUMN." -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 DECIMAL ADD/ALTER sẽ mất độ chính xác rõ ràng và đã bị từ chối để giữ ngữ nghĩa mô hình. Xem SonnetDB issue #241; vẫn cần được sửa và phát hành." "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "SonnetDB nhúng tạo cơ sở dữ liệu qua thư mục Data Source; định cấu hình kết nối riêng cho thư mục đích." "Embedded SonnetDB does not support deleting the database directory via SQL.": "SonnetDB nhúng không hỗ trợ xóa thư mục cơ sở dữ liệu qua SQL." -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB chưa hỗ trợ lưu trữ nhận xét bảng và cột. Xem SonnetDB issue #237; khả năng này phải được triển khai và phát hành." -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] Trường {0}.{1} khai báo độ dài {2}, nhưng STRING hiện không hỗ trợ ràng buộc độ dài; đang chờ, xem SonnetDB issue #240." -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] Chưa hoàn thành {0}: lưu trữ nhận xét bảng và cột chưa được hỗ trợ; SonnetDB phải triển khai và phát hành, xem issue #237." "The current SQLite driver does not support BackupDatabase: {0}": "Trình điều khiển SQLite hiện tại không hỗ trợ BackupDatabase: {0}" "The paging algorithm requires a sort column! {0}": "Thuật toán phân trang yêu cầu cột sắp xếp! {0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]Đường dẫn tìm kiếm VastBase (Schema): {1}" @@ -592,3 +580,6 @@ "分钟": "Phút" "实体缓存": "Bộ đệm thực thể" "统计字段": "Trường thống kê" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB hỗ trợ các mức cô lập giao dịch ReadCommitted và Serializable; các mức khác cần ánh xạ được hỗ trợ một cách tường minh." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "Trường [{1}] của chế độ xem SonnetDB [{0}] không cung cấp kiểu khai báo có thể ánh xạ. Xem SonnetDB issue #261. Cũng phải khai báo khả năng nhận NULL; không suy ra kiểu hoặc khả năng nhận NULL từ hàng đầu tiên." +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "Trường [{1}] của chế độ xem SonnetDB [{0}] không cung cấp kiểu khai báo có thể ánh xạ. Xem SonnetDB issue #261." diff --git a/XCode/Locales/zh-Hans.yml b/XCode/Locales/zh-Hans.yml index 0485e6ca5..f135a2ec4 100644 --- a/XCode/Locales/zh-Hans.yml +++ b/XCode/Locales/zh-Hans.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB 不支持通过 SQL 创建 bucket,请使用 HTTP API 或 CLI。" "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB 不支持通过 SQL 删除 bucket,请使用 HTTP API 或 CLI。" "InfluxDB does not support altering columns.": "InfluxDB 不支持修改列。" -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB 的 LIMIT/OFFSET 目前不能超过 Int32.MaxValue。参见 SonnetDB issue #256。" -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 无法精确保存该 Decimal 值,已拒绝写入。参见 SonnetDB issue #235;精确 decimal 参数支持仍需实现并发布。" "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB 的 INT 使用有符号 Int64,仅支持不超过 Int64.MaxValue 的 UInt64 值。" -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 的 DATETIME 只能保留毫秒精度,已拒绝亚毫秒时间。参见 SonnetDB issue #236;完整时间精度支持仍需实现并发布。" -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB 的有界批量删除目前要求单列主键;复合主键或无主键的表无法回退为无界删除。参见 SonnetDB issue #243。" -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB 尚未完整支持该事务隔离级别的语义,请使用 ReadCommitted。参见 SonnetDB issue #225。" "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB 结果未标识自增列,无法安全获取生成的编号。请升级到包含 RETURNING 列元数据的 SonnetDB 版本。" -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB 尚不支持先删除冲突行再插入新行的 Replace 语义。参见 SonnetDB issue #242。" "Bulk write must contain at least one field.": "批量写入必须包含至少一个字段。" "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB 的 Upsert 需要主键或完整的唯一索引冲突目标。" "SonnetDB field type has not been mapped: {0}": "SonnetDB 字段类型尚未映射:{0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB 视图[{0}]未提供字段元数据。" -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB 视图[{0}]的字段[{1}]未提供可映射的声明类型。参见 SonnetDB issue #261;视图声明元数据仍需完善并发布。" "SonnetDB does not support field type {0}.": "SonnetDB 不支持字段类型{0}。" -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB 的 STRING 尚不支持修改长度约束。参见 SonnetDB issue #240;该能力仍需实现并发布。" "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "修改现有 SonnetDB 列的自增标识或主键需要单独迁移,不能通过 ALTER COLUMN 完成。" -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 的 DECIMAL ADD/ALTER 会丢失显式精度,为保持模型语义已拒绝执行。参见 SonnetDB issue #241;仍需修复并发布。" "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "嵌入式 SonnetDB 通过 Data Source 目录创建数据库;请为目标目录配置单独的连接。" "Embedded SonnetDB does not support deleting the database directory via SQL.": "嵌入式 SonnetDB 不支持通过 SQL 删除数据库目录。" -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB 尚不支持持久化表和字段注释。参见 SonnetDB issue #237;该能力必须实现并发布。" -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] 字段{0}.{1}声明长度为{2},但 STRING 目前不支持长度约束;待处理,参见 SonnetDB issue #240。" -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] 未完成 {0}:尚不支持表和字段注释持久化;SonnetDB 必须实现并发布该能力,参见 issue #237。" "The current SQLite driver does not support BackupDatabase: {0}": "当前 SQLite 驱动不支持 BackupDatabase:{0}" "The paging algorithm requires a sort column! {0}": "分页算法需要排序列!{0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase 搜索路径(Schema):{1}" @@ -389,3 +377,6 @@ "entity:XCode.Membership.Parameter": "字典参数" "entity:XCode.Membership.Tenant": "租户" "entity:XCode.Membership.TenantUser": "租户关系" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB 支持 ReadCommitted 和 Serializable 事务隔离级别;其它级别需要显式映射到受支持的级别。" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB 视图[{0}]的字段[{1}]未提供可映射的声明类型。参见 SonnetDB issue #261. 也必须声明可空性;不能根据首行推测类型或可空性。" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB 视图[{0}]的字段[{1}]未提供可映射的声明类型。参见 SonnetDB issue #261." diff --git a/XCode/Locales/zh-Hant.yml b/XCode/Locales/zh-Hant.yml index 73e3dcffc..5b2b17efb 100644 --- a/XCode/Locales/zh-Hant.yml +++ b/XCode/Locales/zh-Hant.yml @@ -293,28 +293,16 @@ "InfluxDB does not support creating buckets via SQL. Use HTTP API or CLI.": "InfluxDB 不支援透過 SQL 建立 bucket,請使用 HTTP API 或 CLI。" "InfluxDB does not support dropping buckets via SQL. Use HTTP API or CLI.": "InfluxDB 不支援透過 SQL 刪除 bucket,請使用 HTTP API 或 CLI。" "InfluxDB does not support altering columns.": "InfluxDB 不支援修改資料行。" -"SonnetDB LIMIT/OFFSET currently cannot exceed Int32.MaxValue. See SonnetDB issue #256.": "SonnetDB 的 LIMIT/OFFSET 目前不能超過 Int32.MaxValue。參見 SonnetDB issue #256。" -"SonnetDB 4.0.0 cannot preserve this Decimal value exactly and rejected the write. See SonnetDB issue #235; precise decimal parameter support still needs to be implemented and released.": "SonnetDB 4.0.0 無法精確保存該 Decimal 值,已拒絕寫入。參見 SonnetDB issue #235;精確 decimal 參數支援仍需實作並發行。" "SonnetDB INT uses signed Int64 and supports only UInt64 values up to Int64.MaxValue.": "SonnetDB 的 INT 使用有號 Int64,僅支援不超過 Int64.MaxValue 的 UInt64 值。" -"SonnetDB 4.0.0 DATETIME can preserve only millisecond precision and rejected sub-millisecond times. See SonnetDB issue #236; full time precision support still needs to be implemented and released.": "SonnetDB 4.0.0 的 DATETIME 只能保留毫秒精度,已拒絕次毫秒時間。參見 SonnetDB issue #236;完整時間精度支援仍需實作並發行。" -"Bounded bulk delete in SonnetDB currently requires a single-column primary key; tables with composite or no primary keys cannot fall back to unbounded delete. See SonnetDB issue #243.": "SonnetDB 的有界批次刪除目前要求單欄主鍵;複合主鍵或無主鍵的資料表無法回退為無界刪除。參見 SonnetDB issue #243。" -"SonnetDB does not yet provide the full semantics of this transaction isolation level; use ReadCommitted. See SonnetDB issue #225.": "SonnetDB 尚未完整支援該交易隔離級別的語意,請使用 ReadCommitted。參見 SonnetDB issue #225。" "The SonnetDB result does not identify identity columns, so the generated number cannot be obtained safely. Upgrade to a SonnetDB version that includes RETURNING column metadata.": "SonnetDB 結果未標識自增欄位,無法安全取得產生的編號。請升級到包含 RETURNING 欄位中繼資料的 SonnetDB 版本。" -"SonnetDB does not yet support the Replace semantics of deleting conflicting rows and then inserting new rows. See SonnetDB issue #242.": "SonnetDB 尚不支援先刪除衝突資料列再插入新資料列的 Replace 語意。參見 SonnetDB issue #242。" "Bulk write must contain at least one field.": "批次寫入必須包含至少一個欄位。" "SonnetDB Upsert requires a primary key or a complete unique-index conflict target.": "SonnetDB 的 Upsert 需要主鍵或完整的唯一索引衝突目標。" "SonnetDB field type has not been mapped: {0}": "SonnetDB 欄位型別尚未對應:{0}" "SonnetDB view [{0}] did not provide field metadata.": "SonnetDB 檢視[{0}]未提供欄位中繼資料。" -"SonnetDB view [{0}] field [{1}] did not provide a mappable declared type. See SonnetDB issue #261; view declaration metadata still needs to be completed and released.": "SonnetDB 檢視[{0}]的欄位[{1}]未提供可對應的宣告型別。參見 SonnetDB issue #261;檢視宣告中繼資料仍需完善並發行。" "SonnetDB does not support field type {0}.": "SonnetDB 不支援欄位型別{0}。" -"SonnetDB STRING does not yet support changing length constraints. See SonnetDB issue #240; the capability still needs to be implemented and released.": "SonnetDB 的 STRING 尚不支援修改長度限制。參見 SonnetDB issue #240;該能力仍需實作並發行。" "Changing identity or primary key on existing SonnetDB columns requires a separate migration and cannot be done through ALTER COLUMN.": "修改現有 SonnetDB 資料行的自增識別或主鍵需要個別遷移,不能透過 ALTER COLUMN 完成。" -"SonnetDB 4.0.0 DECIMAL ADD/ALTER would lose explicit precision and was rejected to preserve model semantics. See SonnetDB issue #241; it still needs to be fixed and released.": "SonnetDB 4.0.0 的 DECIMAL ADD/ALTER 會遺失明確精度,為保持模型語意已拒絕執行。參見 SonnetDB issue #241;仍需修正並發行。" "Embedded SonnetDB creates databases through the Data Source directory; configure a separate connection for the target directory.": "內嵌 SonnetDB 透過 Data Source 目錄建立資料庫;請為目標目錄設定個別連線。" "Embedded SonnetDB does not support deleting the database directory via SQL.": "內嵌 SonnetDB 不支援透過 SQL 刪除資料庫目錄。" -"SonnetDB does not yet support persisting table and column comments. See SonnetDB issue #237; the capability must be implemented and released.": "SonnetDB 尚不支援持久化資料表和欄位註解。參見 SonnetDB issue #237;該能力必須實作並發行。" -"[SonnetDB] Field {0}.{1} declares length {2}, but STRING does not currently support length constraints; pending, see SonnetDB issue #240.": "[SonnetDB] 欄位{0}.{1}宣告長度為{2},但 STRING 目前不支援長度限制;待處理,參見 SonnetDB issue #240。" -"[SonnetDB] Unfinished {0}: table and column comment persistence is not yet supported; SonnetDB must implement and release it, see issue #237.": "[SonnetDB] 未完成 {0}:尚不支援資料表和欄位註解持久化;SonnetDB 必須實作並發行該能力,參見 issue #237。" "The current SQLite driver does not support BackupDatabase: {0}": "目前的 SQLite 驅動程式不支援 BackupDatabase:{0}" "The paging algorithm requires a sort column! {0}": "分頁演算法需要排序欄位!{0}" "[{0}]VastBase Search Path(Schema): {1}": "[{0}]VastBase 搜尋路徑(Schema):{1}" @@ -602,3 +590,6 @@ "entity:XCode.Membership.Parameter": "字典參數" "entity:XCode.Membership.Tenant": "租戶" "entity:XCode.Membership.TenantUser": "租戶關係" +"SonnetDB supports ReadCommitted and Serializable transaction isolation levels; other levels require an explicit supported mapping.": "SonnetDB 支援 ReadCommitted 與 Serializable 交易隔離等級;其它等級需要明確對應至受支援的等級。" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type or nullability; do not infer it from the first row. See SonnetDB issue #261.": "SonnetDB 檢視[{0}]的欄位[{1}]未提供可對應的宣告型別。參見 SonnetDB issue #261. 也必須宣告可空性;不能根據首列推測型別或可空性。" +"SonnetDB view [{0}] field [{1}] does not provide a mappable declared type. See SonnetDB issue #261.": "SonnetDB 檢視[{0}]的欄位[{1}]未提供可對應的宣告型別。參見 SonnetDB issue #261." diff --git a/XUnitTest.XCode/DataAccessLayer/SonnetDBMigrationTests.cs b/XUnitTest.XCode/DataAccessLayer/SonnetDBMigrationTests.cs new file mode 100644 index 000000000..fc0aa1c8a --- /dev/null +++ b/XUnitTest.XCode/DataAccessLayer/SonnetDBMigrationTests.cs @@ -0,0 +1,238 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.Common; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading; +using System.Xml; +using Microsoft.Data.Sqlite; +using NewLife.Data; +using SonnetDB.Data; +using XCode.DataAccessLayer; +using XCode.Transform; +using Xunit; + +namespace XUnitTest.XCode.DataAccessLayer; + +/// 验证涉及 SonnetDB 的 NULL 迁移以及其它数据库和抽取器扩展点的原有行为。 +[Collection("Database")] +public class SonnetDBMigrationTests +{ + [Theory] + [InlineData("paging")] + [InlineData("id")] + [InlineData("time")] + public void Sync_DefaultExtracters_PreserveNullInBothDirections(String algorithm) + { + using var scope = new TransferScope(); + var source = scope.Open("source", false); + var target = scope.Open("target", true); + var reverse = scope.Open("reverse", false); + var numeric = algorithm == "id"; + var key = numeric ? "INTEGER" : "VARCHAR(30)"; + source.Execute($"CREATE TABLE TransferRows(Id {key} NOT NULL PRIMARY KEY, Value INTEGER NULL, Created DATETIME NOT NULL)"); + reverse.Execute($"CREATE TABLE TransferRows(Id {key} NOT NULL PRIMARY KEY, Value INTEGER NULL, Created DATETIME NOT NULL)"); + target.Execute($"CREATE TABLE TransferRows(Id {(numeric ? "INT" : "STRING")} NOT NULL, Value INT NULL, Created DATETIME2 NOT NULL, PRIMARY KEY(Id))"); + source.Execute($"INSERT INTO TransferRows(Id,Value,Created) VALUES({(numeric ? "1" : "'1'")},NULL,'{DateTime.Now.AddSeconds(-5):yyyy-MM-dd HH:mm:ss}')"); + if (algorithm == "time") + { + source.Execute("CREATE INDEX IX_TransferRows_Created ON TransferRows(Created)"); + target.Execute("CREATE INDEX IX_TransferRows_Created ON TransferRows(Created)"); + } + var table = source.Db.CreateMetaData().GetTables().Single(t => t.TableName == "TransferRows"); + var package = new SonnetDBPackage { Dal = source, IgnoreError = false }; + var extractor = package.GetExtracter(table); + Assert.Equal(algorithm == "id" ? typeof(IdExtracter) : algorithm == "time" ? typeof(TimeExtracter) : typeof(PagingExtracter), extractor.GetType()); + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + Assert.Equal(1, package.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.True(IsNull(target)); + table = target.Db.CreateMetaData().GetTables().Single(t => t.TableName == "TransferRows"); + var reversePackage = new SonnetDBPackage { Dal = target, IgnoreError = false }; + Assert.Equal(extractor.GetType(), reversePackage.GetExtracter(table).GetType()); + Assert.Equal(1, reversePackage.Sync(table, reverse.ConnName, false, cancellation.Token)); + Assert.True(IsNull(reverse)); + } + + [Theory] + [InlineData(DateTimeKind.Unspecified)] + [InlineData(DateTimeKind.Utc)] + [InlineData(DateTimeKind.Local)] + public void DateTime_ParametersAndLiterals_PreserveClockTicks(DateTimeKind kind) + { + using var scope = new TransferScope(); + var dal = scope.Open("temporal", true); + dal.Execute("CREATE TABLE TemporalRows(Id INT NOT NULL, Created DATETIME2 NOT NULL, PRIMARY KEY(Id))"); + var value = new DateTime(2026, 11, 3, 12, 34, 56, kind).AddTicks(1234567); + Assert.Equal(1, dal.Execute("INSERT INTO TemporalRows(Id,Created) VALUES(1,@value)", CommandType.Text, dal.Db.CreateParameter("value", value))); + Assert.Equal(1, dal.Execute("INSERT INTO TemporalRows(Id,Created) SELECT 2," + dal.Db.FormatDateTime(value))); + var rows = dal.Query("SELECT Created FROM TemporalRows ORDER BY Id").Rows; + Assert.Equal(2, rows.Count); + Assert.All(rows, row => Assert.Equal(value.Ticks, Assert.IsType(row[0]).Ticks)); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void Sync_ExternalExtracter_UsesItsOwnSourceAndFetch(Boolean derived) + { + using var scope = new TransferScope(); + var host = scope.Open("host", false); + var external = scope.Open("external", false); + var target = scope.Open("target", true); + foreach (var source in new[] { host, external }) + source.Execute("CREATE TABLE TransferRows(Id VARCHAR(30) NOT NULL PRIMARY KEY, Value INTEGER NULL)"); + target.Execute("CREATE TABLE TransferRows(Id STRING NOT NULL, Value INT NULL, PRIMARY KEY(Id))"); + host.Execute("INSERT INTO TransferRows(Id,Value) VALUES('host',1)"); + external.Execute("INSERT INTO TransferRows(Id,Value) VALUES('external',911)"); + var tracking = new TrackingExtracter(external, "TransferRows"); + var table = host.Db.CreateMetaData().GetTables().Single(t => t.TableName == "TransferRows"); + var package = new SonnetDBPackage + { + Dal = host, + IgnoreError = false, + CreateExtracterCallback = _ => derived ? tracking : new PagingExtracter(external, "TransferRows", "Id"), + }; + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + Assert.Equal(1, package.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.Equal("external", target.Query("SELECT Id FROM TransferRows").Rows.Single()[0]); + Assert.Equal(derived, tracking.Called); + } + + [Fact] + public void Sync_OtherDatabases_KeepTheirDefaultNullBehavior() + { + using var scope = new TransferScope(); + var source = scope.Open("source", false); + var target = scope.Open("target", false); + foreach (var dal in new[] { source, target }) + dal.Execute("CREATE TABLE TransferRows(Id VARCHAR(30) NOT NULL PRIMARY KEY, Value INTEGER NULL)"); + source.Execute("INSERT INTO TransferRows(Id,Value) VALUES('1',NULL)"); + var before = source.Query("SELECT Value FROM TransferRows").Rows.Single()[0]; + Assert.Equal(0L, Convert.ToInt64(before)); + var table = source.Db.CreateMetaData().GetTables().Single(t => t.TableName == "TransferRows"); + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + Assert.Equal(1, new DbPackage { Dal = source, IgnoreError = false }.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.False(IsNull(target)); + Assert.Equal(before, source.Query("SELECT Value FROM TransferRows").Rows.Single()[0]); + } + + [Fact] + public void Sync_CancelledAfterFirstPage_StopsBeforeTheNextPage() + { + using var scope = new TransferScope(); + var source = scope.Open("source", false); + var target = scope.Open("target", true); + source.Execute("CREATE TABLE TransferRows(Id INTEGER NOT NULL PRIMARY KEY, Value INTEGER NULL)"); + source.Execute("INSERT INTO TransferRows(Id,Value) VALUES(1,NULL),(2,NULL)"); + target.Execute("CREATE TABLE TransferRows(Id INT NOT NULL, Value INT NULL, PRIMARY KEY(Id))"); + var table = source.Db.CreateMetaData().GetTables().Single(t => t.TableName == "TransferRows"); + using var cancellation = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + var package = new OneRowPackage { Dal = source, IgnoreError = false }; + var pages = 0; + package.OnPage += (_, _) => { pages++; cancellation.Cancel(); }; + Assert.ThrowsAny(() => package.Sync(table, target.ConnName, false, cancellation.Token)); + Assert.Equal(1, pages); + } + + [Fact] + public void WriteXml_ExactPhysicalNameCase_IsExplicitlyOptedIn() + { + var table = DAL.CreateTable(); + table.Name = "MixedName"; + table.TableName = "mixedname"; + table.DbType = DatabaseType.SonnetDB; + var column = table.CreateColumn(); + column.Name = "Value"; + column.ColumnName = "value"; + column.DataType = typeof(Int32); + table.Columns.Add(column); + Assert.Contains("TableName=\"mixedname\"", Export(table, NameFormats.Exact)); + Assert.Contains("ColumnName=\"value\"", Export(table, NameFormats.Exact)); + table.DbType = DatabaseType.SQLite; + Assert.DoesNotContain("TableName=", Export(table)); + Assert.DoesNotContain("ColumnName=", Export(table)); + } + + private static Boolean IsNull(DAL dal) + { + using DbConnection connection = dal.Db.Factory.CreateConnection()!; + connection.ConnectionString = dal.Db.ConnectionString; + connection.Open(); + using var command = connection.CreateCommand(); + command.CommandText = "SELECT Value FROM TransferRows"; + using var reader = command.ExecuteReader(); + return reader.Read() && reader.IsDBNull(0); + } + + private static String Export(IDataTable table, NameFormats mode = NameFormats.Default) + { + var text = new StringBuilder(); + using (var writer = XmlWriter.Create(text, new XmlWriterSettings { OmitXmlDeclaration = true })) + { + writer.WriteStartElement("Table"); + table.WriteXml(writer, mode); + writer.WriteEndElement(); + } + return text.ToString(); + } + + private sealed class TrackingExtracter(DAL dal, String table) : PagingExtracter(dal, table, "Id") + { + public Boolean Called { get; private set; } + public override IEnumerable Fetch() + { + Called = true; + foreach (var page in base.Fetch()) yield return page; + } + } + + private sealed class OneRowPackage : SonnetDBPackage + { + public override IExtracter GetExtracter(IDataTable table) + { + var extractor = base.GetExtracter(table); + if (extractor is IdExtracter id) id.BatchSize = 1; + return extractor; + } + } + + private sealed class TransferScope : IDisposable + { + private readonly String _directory = Path.Combine(Path.GetTempPath(), "xcode-sonnetdb-transfer-" + Guid.NewGuid().ToString("N")); + private readonly List _dals = new(); + + public TransferScope() + { + Directory.CreateDirectory(_directory); + GC.KeepAlive(SqliteFactory.Instance); + GC.KeepAlive(SndbProviderFactory.Instance); + } + + public DAL Open(String name, Boolean sonnet) + { + var connectionName = "transfer_" + Guid.NewGuid().ToString("N"); + var source = Path.Combine(_directory, name + (sonnet ? "" : ".sqlite")); + DAL.AddConnStr(connectionName, "Data Source=" + source + (sonnet ? "" : ";Pooling=False"), null, sonnet ? "SonnetDB" : "SQLite"); + var dal = DAL.Create(connectionName); + _dals.Add(dal); + return dal; + } + + public void Dispose() + { + foreach (var dal in _dals) + { + dal.Session.Dispose(); + dal.Db.Dispose(); + } + SqliteConnection.ClearAllPools(); + var absolute = Path.GetFullPath(_directory); + var temporary = Path.GetFullPath(Path.GetTempPath()); + if (!absolute.StartsWith(temporary, StringComparison.OrdinalIgnoreCase) || !Path.GetFileName(absolute).StartsWith("xcode-sonnetdb-transfer-", StringComparison.Ordinal)) + throw new InvalidOperationException("Unexpected temporary transfer directory."); + if (Directory.Exists(absolute)) Directory.Delete(absolute, true); + } + } +} diff --git a/XUnitTest.XCode/DataAccessLayer/SonnetDBRemoteTests.cs b/XUnitTest.XCode/DataAccessLayer/SonnetDBRemoteTests.cs index 6c8301ba9..b5a0c60a5 100644 --- a/XUnitTest.XCode/DataAccessLayer/SonnetDBRemoteTests.cs +++ b/XUnitTest.XCode/DataAccessLayer/SonnetDBRemoteTests.cs @@ -11,6 +11,32 @@ namespace XUnitTest.XCode.DataAccessLayer; /// 通过正式 Server 验证远程接入,连接字符串由测试环境提供。 public class SonnetDBRemoteTests { + [SonnetServerTheory] + [InlineData("rest")] + [InlineData("auto")] + [InlineData("frame-http2")] + public async Task NumericNullQueries_PreserveNullThroughSyncAndAsyncOverrides(String protocol) + { + var setting = protocol == "frame-http2" ? "SONNETDB_TEST_HTTP2_CONNECTION" : "SONNETDB_TEST_CONNECTION"; + var connection = "SonnetNull_" + Guid.NewGuid().ToString("N"); + DAL.AddConnStr(connection, Environment.GetEnvironmentVariable(setting) + ";Protocol=" + protocol, null, "SonnetDB"); + var dal = DAL.Create(connection); + var table = "NullValues_" + Guid.NewGuid().ToString("N"); + try + { + dal.Execute($"CREATE TABLE {table}(Id INT NOT NULL, I INT NULL, D DECIMAL(28,8) NULL, F FLOAT NULL, B BOOL NULL, PRIMARY KEY(Id))"); + dal.Execute($"INSERT INTO {table}(Id,I,D,F,B) VALUES(1,NULL,NULL,NULL,NULL)"); + Assert.All(dal.Query($"SELECT I,D,F,B FROM {table}").Rows.Single(), Assert.Null); + Assert.All((await dal.QueryAsync($"SELECT I,D,F,B FROM {table}")).Rows.Single(), Assert.Null); + Assert.Equal(1, dal.Session.ExecuteScalar($"SELECT COUNT(*) FROM {table} WHERE I IS NULL AND D IS NULL AND F IS NULL AND B IS NULL")); + } + finally + { + dal.Execute($"DROP TABLE IF EXISTS {table}"); + dal.Db.Dispose(); + } + } + [SonnetServerTheory] [InlineData("rest")] public void DatabaseLifecycle(String protocol) diff --git a/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs b/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs index a4ed07279..438b78acc 100644 --- a/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs +++ b/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs @@ -18,6 +18,17 @@ namespace XUnitTest.XCode.DataAccessLayer; [Collection("Database")] public class SonnetDBTests { + [Fact] + public async Task NumericNullQueries_PreserveNullThroughSyncAndAsyncOverrides() + { + using var scope = new DatabaseScope(); + scope.Dal.Execute("CREATE TABLE NullValues(Id INT NOT NULL, I INT NULL, D DECIMAL(28,8) NULL, F FLOAT NULL, B BOOL NULL, PRIMARY KEY(Id))"); + scope.Dal.Execute("INSERT INTO NullValues(Id,I,D,F,B) VALUES(1,NULL,NULL,NULL,NULL)"); + Assert.All(scope.Dal.Query("SELECT I,D,F,B FROM NullValues").Rows.Single(), Assert.Null); + Assert.All((await scope.Dal.QueryAsync("SELECT I,D,F,B FROM NullValues")).Rows.Single(), Assert.Null); + Assert.Equal(1, scope.Dal.Session.ExecuteScalar("SELECT COUNT(*) FROM NullValues WHERE I IS NULL AND D IS NULL AND F IS NULL AND B IS NULL")); + } + [Fact] public void PrimitiveParametersPreserveValuesAndNulls() { @@ -89,11 +100,10 @@ public void UnboundedStringsAndViewMetadataGuard() Assert.Equal("STRING", actual.Columns.Single(column => column.ColumnName == "Name").RawType); scope.Dal.Execute("CREATE VIEW ViewProjection AS SELECT Id,Name FROM ViewSource"); Assert.Contains("ViewProjection", meta.GetTableNames()); - var error = Assert.Throws(() => meta.GetTables()); - Assert.Contains("#261", error.Message); + Assert.Contains(meta.GetTables(), item => item.TableName == "ViewProjection" && item.IsView); } - [Fact(Skip = "🛠️ SonnetDB 尚需补齐视图声明元数据并正式发布:https://github.com/IoTSharp/SonnetDB/issues/261")] + [Fact] public void ViewMetadataRetainsDeclaredTypesWithoutReadingRows() { using var scope = new DatabaseScope(); @@ -313,18 +323,18 @@ public void BatchInsertIgnoreAndUpsert() } [Fact] - public void UnsupportedReplaceFailsClearly() + public void BatchReplaceUsesNativeReplacement() { using var scope = new DatabaseScope(); using var split = scope.CreateEntitySplit(); var row = new SonnetTestRow { Name = "retained", Remark = "original" }; Assert.Equal(1, row.Insert()); var replaced = new List { new() { Name = "retained", Remark = "replacement" } }; - Assert.Throws(() => replaced.BatchReplace()); - Assert.Equal("original", Assert.Single(SonnetTestRow.FindAll()).Remark); + Assert.Equal(1, replaced.BatchReplace()); + Assert.Equal("replacement", Assert.Single(SonnetTestRow.FindAll()).Remark); } - [Fact(Skip = "🛠️ SonnetDB 尚需实现原子 REPLACE 并正式发布:https://github.com/IoTSharp/SonnetDB/issues/242")] + [Fact] public void BatchReplaceDeletesThenInserts() { using var scope = new DatabaseScope(); @@ -340,49 +350,43 @@ public void BatchReplaceDeletesThenInserts() } [Fact] - public void UnsupportedDecimalMigrationFailsClearly() + public void DecimalAddAndAlterPreservePrecision() { using var scope = new DatabaseScope(); var table = CreateTable("DecimalGuardRows"); var amount = AddColumn(table, "Amount", typeof(Decimal), true); - amount.Precision = 18; - amount.Scale = 4; + amount.Precision = 18; amount.Scale = 4; var meta = scope.Dal.Db.CreateMetaData(); meta.SetTables(Migration.Full, table); scope.Dal.Execute("INSERT INTO DecimalGuardRows (Name,Amount) VALUES ('retained',123.1234)"); var extra = AddColumn(table, "Extra", typeof(Decimal), true); - extra.Precision = 18; - extra.Scale = 4; - Assert.Throws(() => meta.AddColumn(extra)); - var old = amount.Clone(table); - amount.Precision = 20; - amount.Scale = 6; - Assert.Throws(() => meta.AlterColumn(amount, old)); + extra.Precision = 18; extra.Scale = 4; + Assert.True(meta.AddColumn(extra)); + var old = amount.Clone(table); amount.Precision = 20; amount.Scale = 6; + Assert.True(meta.AlterColumn(amount, old)); Assert.Equal(123.1234m, scope.Dal.Session.ExecuteScalar("SELECT Amount FROM DecimalGuardRows")); - Assert.DoesNotContain(meta.GetTables().Single(e => e.TableName == table.TableName).Columns, e => e.ColumnName == "Extra"); + Assert.Contains(meta.GetTables().Single(e => e.TableName == table.TableName).Columns, e => e.ColumnName == "Extra" && e.Precision == 18 && e.Scale == 4); } [Fact] - public void ValuesThatWouldLosePrecisionFailClearly() + public void PreciseValuesAreSupportedAndUInt64IntMappingIsBounded() { using var scope = new DatabaseScope(); var table = new XTable("PrecisionGuardRows"); var number = AddColumn(table, "Amount", typeof(Decimal)); - const Decimal unsafeAmount = 9007199254740993.123456789m; - Assert.Throws(() => scope.Dal.Db.CreateParameter("amount", unsafeAmount)); - Assert.Throws(() => scope.Dal.Db.FormatValue(number, unsafeAmount)); + const Decimal precise = 9007199254740993.123456789m; + Assert.Equal(precise, scope.Dal.Db.CreateParameter("amount", precise).Value); + Assert.Equal(precise.ToString(System.Globalization.CultureInfo.InvariantCulture), scope.Dal.Db.FormatValue(number, precise)); var timestamp = AddColumn(table, "Created", typeof(DateTime)); - var unsafeTime = new DateTime(2026, 10, 8, 12, 34, 56).AddTicks(1); - Assert.Throws(() => scope.Dal.Db.CreateParameter("time", unsafeTime)); - Assert.Throws(() => scope.Dal.Db.FormatValue(timestamp, unsafeTime)); - var unsafeOffset = new DateTimeOffset(unsafeTime, TimeSpan.FromHours(8)); - Assert.Throws(() => scope.Dal.Db.CreateParameter("offset", unsafeOffset)); + var time = new DateTime(2026, 10, 8, 12, 34, 56).AddTicks(1); + Assert.Equal(DbType.DateTime2, scope.Dal.Db.CreateParameter("time", time).DbType); + Assert.Contains("0000001", scope.Dal.Db.FormatValue(timestamp, time)); var unsigned = AddColumn(table, "Unsigned", typeof(UInt64)); Assert.Throws(() => scope.Dal.Db.CreateParameter("unsigned", UInt64.MaxValue)); Assert.Throws(() => scope.Dal.Db.FormatValue(unsigned, UInt64.MaxValue)); } - [Fact(Skip = "🛠️ SonnetDB 尚需修复高精度 decimal 与亚毫秒 DATETIME 保真并正式发布:https://github.com/IoTSharp/SonnetDB/issues/235 https://github.com/IoTSharp/SonnetDB/issues/236")] + [Fact] public void HighPrecisionValuesRoundtrip() { using var scope = new DatabaseScope(); @@ -401,7 +405,7 @@ public void HighPrecisionValuesRoundtrip() Assert.Equal(time, Convert.ToDateTime(record[1])); } - [Fact(Skip = "🛠️ SonnetDB 尚需修复 DECIMAL ADD/ALTER 精度并正式发布:https://github.com/IoTSharp/SonnetDB/issues/241")] + [Fact] public void DecimalColumnMigrationRetainsPrecision() { using var scope = new DatabaseScope(); @@ -476,20 +480,24 @@ public void SchemaEvolutionPreservesData() } [Fact] - public void UnsupportedLengthAndCommentsFailClearly() + public void LengthAndCommentsPersistAndReverseEngineer() { using var scope = new DatabaseScope(); var table = CreateTable("UnsupportedSchemaRows"); - var meta = scope.Dal.Db.CreateMetaData(); - meta.SetTables(Migration.Full, table); + var meta = scope.Dal.Db.CreateMetaData(); meta.SetTables(Migration.Full, table); var name = table.Columns.Single(e => e.ColumnName == "Name"); - var old = name.Clone(table); - name.Length = 200; - Assert.Throws(() => meta.AlterColumn(name, old)); - table.Description = "需要保留的表说明"; - name.Description = "需要保留的字段说明"; - Assert.Throws(() => meta.AddTableDescription(table)); - Assert.Throws(() => meta.AddColumnDescription(name)); + var old = name.Clone(table); name.Length = 200; + Assert.True(meta.AlterColumn(name, old)); + table.Description = "需要保留的表说明"; name.Description = "需要保留的字段说明"; + Assert.True(meta.AddTableDescription(table)); + Assert.True(meta.AddColumnDescription(name)); + var actual = meta.GetTables().Single(e => e.TableName == table.TableName); + Assert.Equal(200, actual.Columns.Single(e => e.ColumnName == "Name").Length); + Assert.Equal(table.Description, actual.Description); + Assert.Equal(name.Description, actual.Columns.Single(e => e.ColumnName == "Name").Description); + using var connection = scope.Dal.Db.OpenConnection(); + Assert.Contains(connection.GetSchema("Tables").Rows.Cast(), row => row.ItemArray.Contains(table.Description)); + Assert.Contains(connection.GetSchema("Columns").Rows.Cast(), row => row.ItemArray.Contains(name.Description)); } [Fact] @@ -532,31 +540,20 @@ public void StringDefaultChangesAreCaseSensitive() } [Fact] - public void DefaultsThatWouldLosePrecisionFailClearly() + public void PreciseDefaultsPreserveDecimalAndDateTime2Ticks() { using var scope = new DatabaseScope(); var meta = scope.Dal.Db.CreateMetaData(); - var table = CreateTable("PrecisionDefaultRows"); var time = AddColumn(table, "Created", typeof(DateTime), true); time.DefaultValue = "'2026-10-08T12:34:56.0000001'"; - var error = Assert.Throws(() => meta.CreateTable(table)); - Assert.Contains("#236", error.Message); - Assert.DoesNotContain(table.TableName, meta.GetTableNames()); - var amount = AddColumn(table, "Amount", typeof(Decimal), true); amount.DefaultValue = "9007199254740993.123456789"; - time.DefaultValue = "'2026-10-08T12:34:56.123'"; - error = Assert.Throws(() => meta.CreateTable(table)); - Assert.Contains("#235", error.Message); - - // 可保真的默认值仍应生效,省略字段的插入必须拿到默认值 - amount.DefaultValue = "1.2345"; Assert.True(meta.CreateTable(table)); scope.Dal.Execute("INSERT INTO PrecisionDefaultRows (Name) VALUES ('omit')"); var record = scope.Dal.Query("SELECT Created,Amount FROM PrecisionDefaultRows").Rows.Single(); - Assert.Equal(new DateTime(2026, 10, 8, 12, 34, 56, 123), Convert.ToDateTime(record[0])); - Assert.Equal(1.2345m, Convert.ToDecimal(record[1])); + Assert.Equal(new DateTime(2026, 10, 8, 12, 34, 56).AddTicks(1), Convert.ToDateTime(record[0])); + Assert.Equal(9007199254740993.123456789m, Convert.ToDecimal(record[1])); } [Fact] @@ -676,22 +673,19 @@ public void EntityDeleteRejectsTextInNumericCondition() [Theory] [InlineData(false)] [InlineData(true)] - public void UnsupportedBoundedDeleteWithoutSinglePrimaryKeyFailsClearly(Boolean composite) + public void BoundedDeleteSupportsCompositeAndKeylessTables(Boolean composite) { using var scope = new DatabaseScope(); var table = CreateTable("DeleteGuardRows"); var id = table.Columns.Single(e => e.ColumnName == "Id"); - id.Identity = false; - id.PrimaryKey = composite; - if (composite) - { - var other = AddColumn(table, "Other", typeof(Int64)); - other.PrimaryKey = true; - } + id.Identity = false; id.PrimaryKey = composite; + if (composite) AddColumn(table, "Other", typeof(Int64)).PrimaryKey = true; scope.Dal.Db.CreateMetaData().SetTables(Migration.Full, table); - if (composite) scope.Dal.Execute("INSERT INTO DeleteGuardRows (Id,Name,Other) VALUES (1,'retained',2)"); - Assert.Throws(() => scope.Dal.Db.BuildDeleteSql(table.TableName, "Id>0", 1)); - Assert.Equal(composite ? 1 : 0, scope.Dal.Session.ExecuteScalar("SELECT COUNT(*) FROM DeleteGuardRows")); + if (composite) scope.Dal.Execute("INSERT INTO DeleteGuardRows (Id,Name,Other) VALUES (1,'retained',2),(1,'other',3)"); + else scope.Dal.Execute("INSERT INTO DeleteGuardRows (Id,Name) VALUES (1,'retained'),(1,'other')"); + var sql = scope.Dal.Db.BuildDeleteSql(table.TableName, "Id>0", 1); + Assert.Equal(1, scope.Dal.Execute(sql)); + Assert.Equal(1, scope.Dal.Session.ExecuteScalar("SELECT COUNT(*) FROM DeleteGuardRows")); } [Fact] @@ -708,6 +702,32 @@ public void TruncateRetainsSchemaAndResetsIdentity() Assert.Contains(table.TableName, scope.Dal.Db.CreateMetaData().GetTableNames()); } + /// 原生时刻与时长在参数和显式字面量路径中保持完整精度。 + [Fact] + public void NativeDateTimeOffsetAndDurationRoundTripThroughParametersAndLiterals() + { + using var scope = new DatabaseScope(); + var table = CreateTable("NativeTemporalRows"); + var offsetColumn = AddColumn(table, "Occurred", typeof(DateTimeOffset), true); + var durationColumn = AddColumn(table, "Elapsed", typeof(TimeSpan), true); + Assert.True(scope.Dal.Db.CreateMetaData().CreateTable(table)); + var offset = new DateTimeOffset(2026, 11, 3, 12, 34, 56, TimeSpan.FromHours(8)).AddTicks(17); + var duration = TimeSpan.FromDays(-2).Add(TimeSpan.FromTicks(19)); + Assert.Equal(1, scope.Dal.Execute("INSERT INTO NativeTemporalRows(Name,Occurred,Elapsed) VALUES(@name,@moment,@duration)", CommandType.Text, + scope.Dal.Db.CreateParameter("name", "parameter"), scope.Dal.Db.CreateParameter("moment", offset), scope.Dal.Db.CreateParameter("duration", duration))); + Assert.Equal(1, scope.Dal.Execute("INSERT INTO NativeTemporalRows(Name,Occurred,Elapsed) SELECT 'literal'," + + scope.Dal.Db.FormatValue(offsetColumn, offset) + "," + scope.Dal.Db.FormatValue(durationColumn, duration))); + var rows = scope.Dal.Query("SELECT Occurred,Elapsed FROM NativeTemporalRows ORDER BY Id").Rows; + Assert.Equal(2, rows.Count); + Assert.All(rows, row => + { + var actual = Assert.IsType(row[0]); + Assert.Equal(offset.UtcTicks, actual.UtcTicks); + Assert.Equal(TimeSpan.Zero, actual.Offset); + Assert.Equal(duration, Assert.IsType(row[1])); + }); + } + private sealed class KeyRow : NewLife.Data.IModel { private readonly Dictionary _values; From 9fc590a78ac109b8f14ff85cac8d22389614c443 Mon Sep 17 00:00:00 2001 From: maikebing Date: Sat, 7 Nov 2026 05:08:09 +0800 Subject: [PATCH 4/4] fix(sonnetdb): preserve legacy temporal metadata and typed defaults --- ChangeLog.md | 3 + Doc/SonnetDB.md | 2 + HANDOFF.md | 11 ++++ XCode/DataAccessLayer/Database/SonnetDB.cs | 19 +++++- .../DataAccessLayer/SonnetDBTests.cs | 64 +++++++++++++++++++ 5 files changed, 97 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 08a43f2e3..b0b1f3022 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -6,6 +6,9 @@ - 为同步内置抽取器增加可选逐页查询回调,保留默认查询和外部抽取器合同;增加 `NameFormats.Exact` 与兼容 XML 重载,显式保留物理名称大小写。 - SonnetDB 5.0.0 原生类型、元数据、分页、事务和批量语义映射;普通 NULL 读取使用下游 override,跨库迁移通过显式 `SonnetDBPackage` 保真,不向基础类加入数据库特判。 +### Fixed +- SonnetDB 元数据继续识别旧 DATETIME/TIME 列,新模型仍优先使用 DATETIME2/DURATION;保留兼容类型的原生 CAST 默认值,避免反向模型重放时重复包装并产生冗余 ALTER。增加实际旧表映射和只读 DDL 计划/默认值读回回归,不修改通用数据库基类或正式 SonnetDB 5.0 依赖。 + ## v12.3.2026.1024 (2026-10-24) ### SonnetDB 数据库支持 diff --git a/Doc/SonnetDB.md b/Doc/SonnetDB.md index 292f351d2..7d39b804a 100644 --- a/Doc/SonnetDB.md +++ b/Doc/SonnetDB.md @@ -25,6 +25,8 @@ For a Server use `Data Source=sonnetdb+http://localhost:5080/demo;Token=YOUR_TOK | Empty views and model export | Declared column metadata without inferring types from data; NameFormats.Exact explicitly retains physical identifier spelling | | Nullable values and cross-database migration | Session overrides preserve numeric NULL; SonnetDBPackage explicitly enables exact NULL page reads; custom extraction callbacks keep their own source DAL | +Reverse metadata also recognizes legacy `DATETIME` and `TIME` as DateTime/TimeSpan aliases. They do not replace the preferred types for new models or change the legacy precision contract. A compatible native temporal `CAST` default survives metadata/model replay without another `CAST` wrapper, so unchanged temporal defaults do not generate `ALTER COLUMN`; ordinary literals still receive the required native cast, and string-default comparison remains ordinal. + SQL names preserve their declared spelling. Ordinary references are case insensitive and quoted references are exact; embedded quote characters are escaped. For exact XML, use `table.WriteXml(writer, NameFormats.Exact)` or `EntityBuilderOption.NameFormat = NameFormats.Exact` on complete model export. This is an explicit option; the ordinary compact XML contract stays unchanged. For a migration involving SonnetDB, opt in through the provider data package: diff --git a/HANDOFF.md b/HANDOFF.md index 54a2b6b3c..f3962be56 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -1,3 +1,14 @@ +## 2026-11-07 PR #105 temporal compatibility reviews + +- Continuation owns only SonnetDB.cs, SonnetDBTests.cs and the corresponding documentation on codex/sonnetdb5-provider-overrides-20261106; base a224144c95865d5ae6f10c7f6db5eb8e6c816c9e. Architecture PR #104 / d53442b65dc8bf80a3b16e095fe74225f7537c55 remains unchanged and must be accepted before #105. Both trees were clean before these owned changes. +- Late reviews r4491044435/r4491044527 were still unresolved after the previous handoff. Two unchanged regression tests actually failed on the old implementation: legacy DATETIME was unmapped, and unchanged temporal defaults produced a nonempty ALTER plan. The original FAIL TRX/stdout are retained. After the Provider-only fixes both tests pass, including read-only no-ALTER plans, SetTables replay and exact default ticks/offset/Duration. +- DATETIME/TIME are secondary aliases; DATETIME2/DURATION stay first for new models. Compatible complete outer temporal CAST defaults are returned unchanged, with quoted strings/internal parentheses handled and a one-second recognition timeout. Other literals/types and ordinal string-default rules retain their existing path. No generic metadata/session/architecture or dependency change is included. +- All six XCode targets build: net45/net461/netstandard2.0/netstandard2.1/net8.0/net10.0. The final build has 856 existing repository warnings and zero errors; a new nullable-flow warning on old reference assemblies was removed using an explicit non-null/Length guard, without suppression. Final focused regression is 2/2 PASS, zero skipped. Full matched-Server suite/package journeys are separately recorded after execution, not copied from the old pr404.1 candidate. +- The fresh source-linked complete suite has now executed 66/66, zero failures/skips, with both REST/Frame variables and an owned matching public 5.0 NativeAOT Server. Its independent NuGet-only cache verifies the three SonnetDB 5.0/source844 DLLs. This is working-tree source evidence; the new committed two-package candidate and all nine package journey processes are frozen and validated separately. +- Dependencies remain official SonnetDB/Core/Protocol 5.0.0 / source84433f9e. The existing public NativeAOT Server executable was rehashed and matches 4c6cdee527f3f82c25945bbe5683cc92790e8daaf2b3b227c1b8adf2911f882e; the historical original ZIP path is currently absent and is not claimed as newly downloaded. New XCode candidates use a unique local version/source and independent caches; no package/tag/publication or production operation is authorized here. +- #404 stays OPEN until #104 then #105 are accepted/merged, matching Core/Provider packages are public, and the fully public fresh-cache journey passes. Current CI/remote source readbacks are separate from source and local package results. OIDC, iOS and s390x baseline failures must remain actual FAIL/UNKNOWN until freshly verified, not normalized to success. +- All heavy tasks are serialized by the supervising SonnetDB chat with FileShare.None lock, CPU2/single MSBuild node/no persistent service; Cordonix owns process trees. Raw commands/results/TRX and resource receipts are retained under D:/source/SonnetDB/artifacts/issue404-review-20261107/. Preserve mixed BOM/EOL and use scoped core.whitespace=cr-at-eol checks; do not perform a whole-repository EOL rewrite. Other source trees, old evidence and unmerged PR branches are retained. + # Provider extension contracts — 2026-11-06 Provider continuation: `codex/sonnetdb5-provider-overrides-20261106` depends on architecture PR #104 / `d53442b65dc8bf80a3b16e095fe74225f7537c55`. Closed #103 / f21d0c7 is preserved. Provider changes use OnFill/QueryAsync overrides and an explicit SonnetDBPackage; no database-specific base-class branches were carried forward. Source dependency is public SonnetDB/Core/Protocol 5.0.0 / 84433f9e, with matching public NativeAOT Server SHA256 4c6cdee527f3f82c25945bbe5683cc92790e8daaf2b3b227c1b8adf2911f882e. diff --git a/XCode/DataAccessLayer/Database/SonnetDB.cs b/XCode/DataAccessLayer/Database/SonnetDB.cs index 83735b17b..42c5002a0 100644 --- a/XCode/DataAccessLayer/Database/SonnetDB.cs +++ b/XCode/DataAccessLayer/Database/SonnetDB.cs @@ -384,7 +384,7 @@ internal class SonnetDBMetaData : RemoteDbMetaData [typeof(Byte)] = ["INT"], [typeof(SByte)] = ["INT"], [typeof(UInt16)] = ["INT"], [typeof(UInt32)] = ["INT"], [typeof(UInt64)] = ["INT"], [typeof(Double)] = ["FLOAT"], [typeof(Single)] = ["FLOAT"], [typeof(Decimal)] = ["DECIMAL"], [typeof(Boolean)] = ["BOOL"], [typeof(String)] = ["STRING"], [typeof(Guid)] = ["STRING"], [typeof(Char)] = ["STRING"], - [typeof(DateTime)] = ["DATETIME2"], [typeof(DateTimeOffset)] = ["DATETIMEOFFSET"], [typeof(TimeSpan)] = ["DURATION"], [typeof(Byte[])] = ["BLOB"], + [typeof(DateTime)] = ["DATETIME2", "DATETIME"], [typeof(DateTimeOffset)] = ["DATETIMEOFFSET"], [typeof(TimeSpan)] = ["DURATION", "TIME"], [typeof(Byte[])] = ["BLOB"], }; /// @@ -511,8 +511,9 @@ public override String FieldClause(IDataColumn field, Boolean onlyDefine) { if (field.Identity) return null; var value = field.DefaultValue; - if (!String.IsNullOrEmpty(value)) + if (value != null && value.Length > 0) { + if (IsTypedTemporalDefault(value, field.DataType)) return " DEFAULT " + value; if ((field.DataType == typeof(DateTime) || field.DataType == typeof(DateTimeOffset) || field.DataType == typeof(TimeSpan)) && !value.StartsWith("'") && value.IndexOf('(') < 0) value = SonnetDB.Quote(value); @@ -531,6 +532,20 @@ public override String FieldClause(IDataColumn field, Boolean onlyDefine) return null; } + private static Boolean IsTypedTemporalDefault(String value, Type? dataType) + { + var types = dataType == typeof(DateTime) ? "(?:DATETIME2|DATETIME)" + : dataType == typeof(DateTimeOffset) ? "DATETIMEOFFSET" + : dataType == typeof(TimeSpan) ? "(?:DURATION|TIME)" : null; + if (types == null) return false; + + // 仅保留单个完整外层 CAST;字符串中的括号不计入内部括号深度。 + var pattern = @"^\s*CAST\s*\((?:'(?:''|[^'])*'|[^'()]|\((?)|\)(?<-nested>))*\s+AS\s+" + + types + @"\s*\)(?(nested)(?!))\s*$"; + return Regex.IsMatch(value, pattern, RegexOptions.IgnoreCase | RegexOptions.CultureInvariant | RegexOptions.Singleline, + TimeSpan.FromSeconds(1)); + } + /// public override String CreateTableSQL(IDataTable table) { diff --git a/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs b/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs index 438b78acc..bd8d5b7bd 100644 --- a/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs +++ b/XUnitTest.XCode/DataAccessLayer/SonnetDBTests.cs @@ -4,6 +4,7 @@ using System.Data; using System.IO; using System.Linq; +using System.Reflection; using System.Threading.Tasks; using NewLife; using XCode; @@ -183,6 +184,30 @@ public void AutomaticSchemaAndReverseMetadata() Assert.DoesNotContain(table.TableName, meta.GetTableNames()); } + /// 旧 DATETIME/TIME 列仍能反向识别,新列 SQL 继续优先使用 DATETIME2/DURATION。 + [Fact] + public void LegacyTemporalColumnMetadataRoundTrips() + { + using var scope = new DatabaseScope(); + scope.Dal.Execute("CREATE TABLE LegacyTemporalRows(Id INT NOT NULL DEFAULT 0, Created DATETIME NULL, Elapsed TIME NULL, PRIMARY KEY(Id))"); + var metadata = scope.Dal.Db.CreateMetaData(); + + var actual = Assert.Single(metadata.GetTables(), table => table.TableName == "LegacyTemporalRows"); + var created = Assert.Single(actual.Columns, column => column.ColumnName == "Created"); + var elapsed = Assert.Single(actual.Columns, column => column.ColumnName == "Elapsed"); + Assert.Equal("DATETIME", created.RawType); + Assert.Equal(typeof(DateTime), created.DataType); + Assert.Equal("TIME", elapsed.RawType); + Assert.Equal(typeof(TimeSpan), elapsed.DataType); + + var newModel = (IDataTable)actual.Clone(); + newModel.Name = newModel.TableName = "PreferredTemporalRows"; + var createSql = metadata.GetSchemaSQL(DDLSchema.CreateTable, newModel) + ?? throw new InvalidOperationException("Expected native create-table SQL for the reverse-engineered model."); + Assert.Contains("\"Created\" DATETIME2", createSql); + Assert.Contains("\"Elapsed\" DURATION", createSql); + } + [Fact] public void EmbeddedSourceUriPrefixIsNormalized() { @@ -556,6 +581,37 @@ public void PreciseDefaultsPreserveDecimalAndDateTime2Ticks() Assert.Equal(9007199254740993.123456789m, Convert.ToDecimal(record[1])); } + /// 反向元数据中的原生 CAST 默认值重放时不产生 ALTER,并保留三个 temporal 类型的实际默认值。 + [Fact] + public void TemporalDefaultsMetadataRoundTripDoesNotPlanAlter() + { + using var scope = new DatabaseScope(); + scope.Dal.Execute("CREATE TABLE TemporalDefaultRows(Id INT NOT NULL DEFAULT 0," + + " Created DATETIME2 NULL DEFAULT CAST('2026-11-07T01:02:03.0000001' AS DATETIME2)," + + " Occurred DATETIMEOFFSET NULL DEFAULT CAST('2026-11-07T01:02:03.0000001+08:00' AS DATETIMEOFFSET)," + + " Elapsed DURATION NULL DEFAULT CAST('1.02:03:04.0000001' AS DURATION), PRIMARY KEY(Id))"); + var metadata = scope.Dal.Db.CreateMetaData(); + var actual = Assert.Single(metadata.GetTables(), table => table.TableName == "TemporalDefaultRows"); + Assert.Contains("CAST(", actual.Columns.Single(column => column.ColumnName == "Created").DefaultValue, StringComparison.OrdinalIgnoreCase); + Assert.Contains("CAST(", actual.Columns.Single(column => column.ColumnName == "Occurred").DefaultValue, StringComparison.OrdinalIgnoreCase); + Assert.Contains("CAST(", actual.Columns.Single(column => column.ColumnName == "Elapsed").DefaultValue, StringComparison.OrdinalIgnoreCase); + var model = (IDataTable)actual.Clone(); + + // 调用与 SetTables 相同的字段比较入口,但仅返回 DDL,不能被 CheckAllTables 的日志捕获掩盖。 + Assert.Equal(String.Empty, GetReadOnlyColumnChangePlan(metadata, model, actual)); + metadata.SetTables(Migration.Full, model); + var reloaded = Assert.Single(metadata.GetTables(), table => table.TableName == model.TableName); + Assert.Equal(String.Empty, GetReadOnlyColumnChangePlan(metadata, model, reloaded)); + + Assert.Equal(1, scope.Dal.Execute("INSERT INTO TemporalDefaultRows(Id) VALUES(1)")); + var row = Assert.Single(scope.Dal.Query("SELECT Created,Occurred,Elapsed FROM TemporalDefaultRows").Rows); + Assert.Equal(new DateTime(2026, 11, 7, 1, 2, 3).AddTicks(1), Assert.IsType(row[0])); + var occurred = Assert.IsType(row[1]); + Assert.Equal(new DateTimeOffset(2026, 11, 7, 1, 2, 3, TimeSpan.FromHours(8)).AddTicks(1).UtcTicks, occurred.UtcTicks); + Assert.Equal(TimeSpan.Zero, occurred.Offset); + Assert.Equal(new TimeSpan(1, 2, 3, 4).Add(TimeSpan.FromTicks(1)), Assert.IsType(row[2])); + } + [Fact] public void EntityLinqUsesFilteringOrderingAndPaging() { @@ -728,6 +784,14 @@ public void NativeDateTimeOffsetAndDurationRoundTripThroughParametersAndLiterals }); } + private static String GetReadOnlyColumnChangePlan(IMetaData metadata, IDataTable model, IDataTable actual) + { + var method = metadata.GetType().GetMethod("CheckColumnsChange", BindingFlags.Instance | BindingFlags.NonPublic, + null, new[] { typeof(IDataTable), typeof(IDataTable), typeof(Boolean), typeof(Boolean), typeof(XCodeSetting) }, null); + Assert.NotNull(method); + return Assert.IsType(method.Invoke(metadata, new Object[] { model, actual, true, false, XCodeSetting.Current })); + } + private sealed class KeyRow : NewLife.Data.IModel { private readonly Dictionary _values;