예제 #1
0
 public static void Write(Span <byte> span, PreparedStatement preparedStatement)
 => span.Empty()
 .Write(preparedStatement.DatabaseId)
 .Write(preparedStatement.Id);
예제 #2
0
 public static void Write(Span <byte> span, PreparedStatement preparedStatement, DqliteParameter[] parameters)
 => span.Empty()
 .Write(preparedStatement.DatabaseId)
 .Write(preparedStatement.Id)
 .Write(parameters);
 public static StatementResult ExecuteNonQuery(this DqliteConnector connector, PreparedStatement preparedStatement)
 => connector.ExecuteNonQuery(preparedStatement, PARAMETER_EMPTY);
 public static DqliteDataRecord ExecuteQuery(this DqliteConnector connector, PreparedStatement preparedStatement)
 => connector.ExecuteQuery(preparedStatement, PARAMETER_EMPTY);
 public static Task <DqliteDataRecord> ExecuteQueryAsync(this DqliteConnector connector, PreparedStatement preparedStatement, CancellationToken cancellationToken = default(CancellationToken))
 => connector.ExecuteQueryAsync(preparedStatement, PARAMETER_EMPTY, cancellationToken);