15 lines
426 B
C#
15 lines
426 B
C#
using Npgsql.Internal;
|
|
|
|
namespace Npgsql.BackendMessages;
|
|
|
|
class ReadyForQueryMessage : IBackendMessage
|
|
{
|
|
public BackendMessageCode Code => BackendMessageCode.ReadyForQuery;
|
|
|
|
internal TransactionStatus TransactionStatusIndicator { get; private set; }
|
|
|
|
internal ReadyForQueryMessage Load(NpgsqlReadBuffer buf) {
|
|
TransactionStatusIndicator = (TransactionStatus)buf.ReadByte();
|
|
return this;
|
|
}
|
|
} |