sqlx prepare added

This commit is contained in:
filipriec
2025-03-11 11:36:40 +01:00
parent fc6f033711
commit a24ef3d064
13 changed files with 164 additions and 55 deletions

View File

@@ -25,6 +25,7 @@ pub fn execute_script(
) -> Result<Value, ExecutionError> {
let mut vm = Engine::new();
// SAFETY: THIS IS NEEDS TO BE REDONE
// Convert to Box<str> then leak to get 'static lifetime
let static_script: &'static str = Box::leak(script.to_string().into_boxed_str());