@ronin/compiler
Advanced tools
Comparing version 0.16.5 to 0.17.0
@@ -407,2 +407,6 @@ /** | ||
inlineParams?: boolean; | ||
/** | ||
* Whether to compute default field values as part of the generated statement. | ||
*/ | ||
inlineDefaults?: boolean; | ||
} | ||
@@ -409,0 +413,0 @@ declare class Transaction { |
{ | ||
"name": "@ronin/compiler", | ||
"version": "0.16.5", | ||
"version": "0.17.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Compiles RONIN queries to SQL statements.", |
@@ -130,3 +130,8 @@ # RONIN Compiler | ||
// This option should only be used if the generated SQL will be manually verified. | ||
inlineParams: true | ||
inlineParams: true, | ||
// By default, the compiler relies on dynamic column default values for computing the | ||
// values of all meta fields (such as `id`, `ronin.createdAt`, etc). In order to compute | ||
// those values at the time of insertion instead, use this option. | ||
inlineDefaults: true | ||
}); | ||
@@ -133,0 +138,0 @@ ``` |
Sorry, the diff of this file is too big to display
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
116067
2689
0
172