MCPcopy Create free account
hub / github.com/4xmen/rustavel / has_view

Method has_view

core/src/sql/sqlite.rs:110–121  ·  view source on GitHub ↗
(&self, table_name: &str)

Source from the content-addressed store, hash-verified

108 }
109
110 fn has_view(&self, table_name: &str) -> String {
111 format!(
112 "
113 SELECT \"1\"
114 FROM sqlite_master
115 WHERE type = 'view'
116 AND name = '{}'
117 LIMIT 1
118 ",
119 table_name
120 )
121 }
122
123 fn has_index(&self, table_name: &str, columns_name: Vec<&str>) -> String {
124 let cols = columns_name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected