pub fn quote_sqlite_identifier(identifier: &str) -> StringExpand description
Quote a SQLite identifier.
SQLite uses double quotes for identifiers. Schema-qualified names
(e.g., schema.table) are split and quoted per component.
ยงExamples
use fraiseql_db::quote_sqlite_identifier;
assert_eq!(quote_sqlite_identifier("v_user"), "\"v_user\"");
assert_eq!(quote_sqlite_identifier("main.v_user"), "\"main\".\"v_user\"");
assert_eq!(
quote_sqlite_identifier("catalog.schema.table"),
"\"catalog\".\"schema\".\"table\""
);