myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
Loading...
Searching...
No Matches
Public Attributes | List of all members
tinysql::UpdateStmt Struct Reference

UPDATE <table> SET <col> = <value>[, ...] WHERE <condition>. The WHERE is required, as for DELETE. More...

#include <Statement.hpp>

Public Attributes

std::string table
 The table to change.
 
std::vector< Assignment > assignments
 The columns to set and their new values.
 
Condition where
 Which rows to change.
 

Detailed Description

UPDATE <table> SET <col> = <value>[, ...] WHERE <condition>. The WHERE is required, as for DELETE.

Definition at line 60 of file Statement.hpp.

Member Data Documentation

◆ assignments

std::vector<Assignment> tinysql::UpdateStmt::assignments

The columns to set and their new values.

Definition at line 62 of file Statement.hpp.

◆ table

std::string tinysql::UpdateStmt::table

The table to change.

Definition at line 61 of file Statement.hpp.

◆ where

Condition tinysql::UpdateStmt::where

Which rows to change.

Definition at line 63 of file Statement.hpp.


The documentation for this struct was generated from the following file: