Basic Topics | Advanced Topics | Reference Topics | |
Documentation Home Page |
These release notes summarize new features and fixed bugs for the most recent releases of InstantDB.
There are some restrictions on the level of FK support.
Apart from these restrictions, most of the common FK functionality is supported, including cascading updates and deletes, setting to null, setting to default and restricting FK changes.
java org.enhydra.instantdb.db.SqlSyntax
__IDB_INTERNAL <param> FROM expr1 IN TABLE expr2
This is intended to allow SQL access to InstantDB internal variables. The <param> must be one of a fixed set of string literals which select the internal variable required. Case is not significant. The currently allowed values are:
The "expr2" parameter is similar to "expr1" but must evaluate to a table name. The table name does not have to be present in the FROM clause of a query.
An example of this type of expression might be:
SELECT tableName, ColName, __IDB_INTERNAL cardinality FROM ColName IN TABLE tableName FROM sample$db$cols c, sample$db$tables t WHERE c.TableID=t.TableID AND tableName LIKE '%t%' IGNORE CASE;
To get the last value inserted in a column use:
SELECT __IDB_INTERNAL last_value FROM TEXT("int1") IN TABLE mytable FROM mytable
Note that the TEXT() function has to be used around the column name. If this were omitted then InstantDB would attempt to evaluate the contents of the table "int1".
In addition to the information provided below, see the database properties and SQL syntax documentation for more details on the changes in this release.
We hope you will find these new features beneficial. Please send your comments or suggestions for InstantDB to instantdb@enhydra.org.