#pragma once

#include <turbodbc/description.h>

namespace turbodbc {

/**
 * @brief Represents a description to bind a buffer holding timestamp values
 */
class timestamp_description : public description {
public:
	timestamp_description();
	timestamp_description(std::string name, bool supports_null);
	~timestamp_description();
private:
	std::size_t do_element_size() const final;
	SQLSMALLINT do_column_c_type() const final;
	SQLSMALLINT do_column_sql_type() const final;
	type_code do_get_type_code() const final;
};

}
