1 instantiation of SafeSqliteStatementHandle
Microsoft.CodeAnalysis.Workspaces (1)
Storage\SQLite\Interop\NativeMethods.cs (1)
51
return new
SafeSqliteStatementHandle
(db, wrapper);
13 references to SafeSqliteStatementHandle
Microsoft.CodeAnalysis.Workspaces (13)
Storage\SQLite\Interop\NativeMethods.cs (11)
37
public static
SafeSqliteStatementHandle
sqlite3_prepare_v2(SafeSqliteHandle db, string sql, out Result result)
124
public static Result sqlite3_reset(
SafeSqliteStatementHandle
stmt)
130
public static Result sqlite3_step(
SafeSqliteStatementHandle
stmt)
136
public static Result sqlite3_bind_text(
SafeSqliteStatementHandle
stmt, int index, string val)
146
public static Result sqlite3_bind_text(
SafeSqliteStatementHandle
stmt, int index, ReadOnlySpan<byte> val)
152
public static Result sqlite3_bind_int64(
SafeSqliteStatementHandle
stmt, int index, long val)
158
public static Result sqlite3_bind_blob(
SafeSqliteStatementHandle
stmt, int index, ReadOnlySpan<byte> bytes)
164
public static int sqlite3_column_int(
SafeSqliteStatementHandle
stmt, int index)
170
public static long sqlite3_column_int64(
SafeSqliteStatementHandle
stmt, int index)
176
public static string sqlite3_column_text(
SafeSqliteStatementHandle
stmt, int index)
182
public static int sqlite3_clear_bindings(
SafeSqliteStatementHandle
stmt)
Storage\SQLite\v2\Interop\SqlConnection.cs (1)
192
var
handle = NativeMethods.sqlite3_prepare_v2(_handle, query, out var result);
Storage\SQLite\v2\Interop\SqlStatement.cs (1)
30
internal readonly struct SqlStatement(SqlConnection connection,
SafeSqliteStatementHandle
statement)