git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a182c
)
dont created columns for fields that are marked as 'joined'
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 28 Sep 2012 19:14:47 +0000
(15:14 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 28 Sep 2012 19:14:47 +0000
(15:14 -0400)
PLC/Storage/AlchemyObject.py
patch
|
blob
|
history
diff --git
a/PLC/Storage/AlchemyObject.py
b/PLC/Storage/AlchemyObject.py
index
f96b2f6
..
33ec0be
100644
(file)
--- a/
PLC/Storage/AlchemyObject.py
+++ b/
PLC/Storage/AlchemyObject.py
@@
-34,8
+34,8
@@
class AlchemyObj(Record):
table = Table(self.tablename, metadata)
for field in self.fields:
param = self.fields[field]
- # skip
read only param
s
- if param.
ro
:
+ # skip
params joined from other table
s
+ if param.
joined
:
continue
type = String
if param.type == int: