mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 19:08:50 +00:00
Refactor Zig imports and file structure (part 1) (#21270)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
pub fn writeBind(
|
||||
name: []const u8,
|
||||
cursor_name: bun.String,
|
||||
globalObject: *JSC.JSGlobalObject,
|
||||
globalObject: *jsc.JSGlobalObject,
|
||||
values_array: JSValue,
|
||||
columns_value: JSValue,
|
||||
parameter_fields: []const int4,
|
||||
@@ -209,7 +209,7 @@ pub fn writeQuery(
|
||||
}
|
||||
|
||||
pub fn prepareAndQueryWithSignature(
|
||||
globalObject: *JSC.JSGlobalObject,
|
||||
globalObject: *jsc.JSGlobalObject,
|
||||
query: []const u8,
|
||||
array_value: JSValue,
|
||||
comptime Context: type,
|
||||
@@ -230,7 +230,7 @@ pub fn prepareAndQueryWithSignature(
|
||||
}
|
||||
|
||||
pub fn bindAndExecute(
|
||||
globalObject: *JSC.JSGlobalObject,
|
||||
globalObject: *jsc.JSGlobalObject,
|
||||
statement: *PostgresSQLStatement,
|
||||
array_value: JSValue,
|
||||
columns_value: JSValue,
|
||||
@@ -342,5 +342,5 @@ const short = types.short;
|
||||
const bun = @import("bun");
|
||||
const String = bun.String;
|
||||
|
||||
const JSC = bun.JSC;
|
||||
const JSValue = JSC.JSValue;
|
||||
const jsc = bun.jsc;
|
||||
const JSValue = jsc.JSValue;
|
||||
|
||||
Reference in New Issue
Block a user