dtl
Index of DTL Code Examples
Working with a table where you know the columns at compile time
Using iterators (DBView)
- Simple select example with automatically created class.
- Simple select example with user defined class.
- Simple insert example.
- Simple update example.
- Simple delete example.
- Simple select-update example.
Using a container (IndexedDBView)
- IndexedDBView example.
Using a random access container (RandomDBView)
- RandomDBView example.
Working with a table where you don't know the columns until runtime
Using iterators (DynamicDBView)
- Simple select example.
- Simple insert example.
- Simple update example.
- Simple delete example.
- Simple select-update example.
- Copy an arbitrary table.
- Execute an arbitrary query and prompt for any parameters.
Using a container (DynamicIndexedDBView)
- DynamicIndexedDBView example.
Using a random access container (RandomDBView)
- RandomDBView container built from a DynamicDBView.
Other Topics
- Making it easier to map database fields to objects: Local BCA.
- Working with NULLs.
- Executing simple SQL statements.
- Stored Procedures. (See also sql_iterator.)
- Working with functions, e. g.: count(*), sum(*),
etc.
- Handling errors. (See also Exception Handling)
- Binding user-defined / non-primitive types.
Copyright © 2002, Michael Gradman and Corwin Joy.
Permission to use, copy, modify, distribute and sell this software and its
documentation for any purpose is hereby granted without fee, provided that the
above copyright notice appears in all copies and that both that copyright notice
and this permission notice appear in supporting documentation. Corwin Joy and
Michael Gradman make no representations about the suitability of this software
for any purpose. It is provided "as is" without express or implied
warranty.
This site written using the ORB.