MCPcopy Create free account
hub / github.com/TankHQ/tank / write_drop_schema

Method write_drop_schema

tank-sqlite/src/sql_writer.rs:183–189  ·  view source on GitHub ↗
(&self, _out: &mut DynQuery, _if_exists: bool)

Source from the content-addressed store, hash-verified

181 &self,
182 context: &mut Context,
183 out: &mut AnyQuery,
184 limit: Option<u32>,
185 offset: Option<u32>,
186 ) {
187 // SQLite only accepts OFFSET after a LIMIT; -1 means unlimited.
188 if limit.is_none() && offset.is_some() {
189 out.push_str("\nLIMIT -1");
190 }
191 GenericSqlWriter.write_limit_offset(context, out, limit, offset);
192 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected