lib/n/db/connection.rb in nitro-0.1.2 vs lib/n/db/connection.rb in nitro-0.2.0

- old
+ new

@@ -1,39 +1,35 @@ -# = Database Connection -# -# Encapsulates a database connection. -# -# === Design -# -# Try to make the methods to work with oids. -# Do NOT implement descendants, use a root id (rid). -# -# === Todo -# -# - support caching -# - support prepared statements -# - foreign keys (delete cascade) -# - keep attribudes as marshaled!! -# -# === Investigate -# -# - should we use retry_query ? -# # code: -# George Moschovitis <gm@navel.gr> +# * George Moschovitis <gm@navel.gr> # # (c) 2004 Navel, all rights reserved. -# $Id: connection.rb 79 2004-10-18 16:38:19Z gmosx $ +# $Id: connection.rb 99 2004-10-22 09:50:28Z gmosx $ module N; require "n/properties" require "n/utils/array" require "n/utils/time" # = DbConnection # # A Connection to the Database. +# +# === design +# +# try to make the methods to work with oids. +# do not implement descendants, use a root id (rid). +# +# === todo +# +# - support caching +# - support prepared statements +# - foreign keys (delete cascade) +# - keep attribudes as marshaled!! +# +# === investigate +# +# - should we use retry_query ? # class DbConnection include N::DbUtils # the actual connection to the database.