TapKit::Database
- Class/Module:
- Class
- In:
-
lib/tapkit/access/database.rb
- Parent:
-
Object
Methods
add_model
entity
forget_all_snapshots
forget_snapshot
forget_snapshots
new
record_snapshot
record_snapshot_for_source
record_snapshots
record_to_many_snapshots
register_context
remove_model
result_cache
set_result_cache
set_timestamp_to_now
snapshot
snapshot_for_source
snapshots
unregister_context
Attributes
- adapter [R]
- adapter_name [R]
- application [R]
- models [R]
- registerd_contexts [R]
Public Class Methods
-
new( application, model )
Public Instance Methods
-
add_model( model )
-
entity( object )
-
forget_all_snapshots()
-
forget_snapshot( gid )
-
forget_snapshots( gids )
-
record_snapshot( gid, snapshot )
-
record_snapshot_for_source( gids, gid, name )
-
record_snapshots( snapshots )
-
record_to_many_snapshots( snapshots )
-
register_context( context )
-
remove_model( model )
-
result_cache( name )
-
set_result_cache( name, cache )
-
set_timestamp_to_now()
-
snapshot( gid, time = nil )
-
snapshot_for_source( gid, name, time = nil )
-
snapshots()
-
unregister_context( context )