hysteria-orm 11.0.8 → 11.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.cts CHANGED
@@ -1997,6 +1997,14 @@ declare class InterpreterUtils {
1997
1997
  private readonly autoUpdateColumns;
1998
1998
  constructor(model: typeof Model);
1999
1999
  formatStringColumn(dbType: SqlDataSourceType, column: string): string;
2000
+ /**
2001
+ * @description Formats a column WITHOUT table qualification.
2002
+ * ON CONFLICT target lists (Postgres/SQLite) and `excluded.<col>` refs require
2003
+ * bare column names; table-qualified ModelKey refs like "sets.id" must reduce to
2004
+ * "id". Mirrors formatStringColumn's qualified branch (split(".")[1]) so the
2005
+ * bare output is identical minus the "table". prefix.
2006
+ */
2007
+ formatStringColumnBare(dbType: SqlDataSourceType, column: string): string;
2000
2008
  /**
2001
2009
  * @description Formats the table name for the database type, idempotent for quoting
2002
2010
  */
package/lib/index.d.ts CHANGED
@@ -1997,6 +1997,14 @@ declare class InterpreterUtils {
1997
1997
  private readonly autoUpdateColumns;
1998
1998
  constructor(model: typeof Model);
1999
1999
  formatStringColumn(dbType: SqlDataSourceType, column: string): string;
2000
+ /**
2001
+ * @description Formats a column WITHOUT table qualification.
2002
+ * ON CONFLICT target lists (Postgres/SQLite) and `excluded.<col>` refs require
2003
+ * bare column names; table-qualified ModelKey refs like "sets.id" must reduce to
2004
+ * "id". Mirrors formatStringColumn's qualified branch (split(".")[1]) so the
2005
+ * bare output is identical minus the "table". prefix.
2006
+ */
2007
+ formatStringColumnBare(dbType: SqlDataSourceType, column: string): string;
2000
2008
  /**
2001
2009
  * @description Formats the table name for the database type, idempotent for quoting
2002
2010
  */