Update default sql statement

This commit is contained in:
Spxg
2025-05-18 01:01:47 +08:00
parent bb0e9fd624
commit e6d17b1b54

View File

@@ -8,7 +8,10 @@ use web_sys::MediaQueryList;
use crate::{FragileComfirmed, SQLightError, SQLiteStatementResult, WorkerHandle};
const DEFAULT_CODE: &str = "SELECT 'Hello World!', datetime('now','localtime') AS current_time;";
const DEFAULT_CODE: &str = "SELECT 'Hello World!',
datetime('now','localtime') AS TM,
x'73716c69676874' AS BLOB_VAL,
NULL as NULL_VAL;";
#[derive(Store, Serialize, Deserialize)]
pub struct GlobalState {