Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions crates/perry-codegen/src/lower_call/native_table/databases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "query",
class_filter: Some("Pool"),
runtime: "js_mysql2_pool_query",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -54,7 +54,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "execute",
class_filter: Some("Pool"),
runtime: "js_mysql2_pool_execute",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -72,7 +72,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "query",
class_filter: Some("Pool"),
runtime: "js_mysql2_pool_query",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -81,7 +81,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "execute",
class_filter: Some("Pool"),
runtime: "js_mysql2_pool_execute",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -100,7 +100,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "query",
class_filter: Some("PoolConnection"),
runtime: "js_mysql2_pool_connection_query",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -109,7 +109,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "execute",
class_filter: Some("PoolConnection"),
runtime: "js_mysql2_pool_connection_execute",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -118,7 +118,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "query",
class_filter: Some("PoolConnection"),
runtime: "js_mysql2_pool_connection_query",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -127,7 +127,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "execute",
class_filter: Some("PoolConnection"),
runtime: "js_mysql2_pool_connection_execute",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
// mysql2 generic instance methods (Connection fallback, class_filter: None)
Expand All @@ -137,7 +137,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "query",
class_filter: None,
runtime: "js_mysql2_connection_query",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -146,7 +146,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "execute",
class_filter: None,
runtime: "js_mysql2_connection_execute",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand Down Expand Up @@ -209,7 +209,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "query",
class_filter: None,
runtime: "js_mysql2_connection_query",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand All @@ -218,7 +218,7 @@ pub(super) const DATABASES_ROWS: &[NativeModSig] = &[
method: "execute",
class_filter: None,
runtime: "js_mysql2_connection_execute",
args: &[NA_STR, NA_F64],
args: &[NA_F64, NA_F64],
ret: NR_PTR,
},
NativeModSig {
Expand Down
Loading
Loading