mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-13 06:12:49 -06:00
Sql: S_type
git-svn-id: svn://ultimatepp.org/upp/trunk@6521 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3b8e418d7d
commit
2444874930
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ public: \
|
|||
static const Vector<SqlId>& GetColumnIds() { return GetInfo().ids; } \
|
||||
\
|
||||
void Clear(); \
|
||||
void FieldLayoutRaw(FieldOperator& f, const String& prefix = String()); \
|
||||
void FieldLayout(FieldOperator& f); \
|
||||
operator Fields() { return callback(this, &S_##Table::FieldLayout); } \
|
||||
bool operator==(const S_##Table& x) const { return EqualFields(const_cast<S_##Table&>(*this), const_cast<S_##Table&>(x)); } \
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ for S`_[/ type].&]
|
|||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:S`_type`:`:operator Fields`(`):%- [* operator_Fields]()&]
|
||||
[s2; Returns callback(this, `&S`_##Table`::FieldLayout). This method
|
||||
[s2; Returns callback(this, `&S`_[/ type]`::FieldLayout). This method
|
||||
provides unified access to all S`_[/ type]s, which is then used
|
||||
in Sql`::Fetch.&]
|
||||
[s3; &]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue