db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mickey Mokotov" <mic...@fetchbook.info>
Subject <foreign-key> to another db
Date Sun, 28 Aug 2005 15:22:04 GMT
Hi All,
 
Can in any way we support the <foreign-key> tag to reference another db?
for example: 

<database name="db1">
 
  <table name="t1">
    <column name="userId" type="INTEGER" primaryKey="true"
autoIncrement="true"/>
    <column name="countryId" type="INTEGER"/>
    <foreign-key foreignTable="db2.Country">
      <reference local="countryKey" foreign="symbol"/>
    </foreign-key>
  </table>
 
</database>

 
-- 
 <http://www.fetchbook.info/> www.FetchBook.Info
Find the lowest price - Compare more then a hundred book stores in a click.
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message