IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2006, 2:16:35 PM (21 years ago)
Author:
jhoblitt
Message:

split global and per table data
forward port generated code to pslib 0.9.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/insertobject.tt

    r4326 r5907  
    1 bool [% namespace %]InsertObject(psDB *dbh, [% object_name %] *object)
     1bool [% table.namespace %]InsertObject(psDB *dbh, [% table.object_name %] *object)
    22{
    3     return [% namespace %]Insert(dbh,
     3    return [% table.namespace %]Insert(dbh,
    44[%- SET i = 0 -%]
    5 [%- FOREACH item = columns -%]
     5[%- FOREACH item = table.columns -%]
    66[%- IF i == 0 -%][%- i = 1 -%] [% ELSE %], [% END -%]
    77object->[% item.name -%]
Note: See TracChangeset for help on using the changeset viewer.