logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

KiokuDB::TypeMap::Entry::Passthrough - A typemap entry of objects that will be serialized by the backend.

Attributes

       intrinsic
           If true the object will be just left in place.

           If  false,  the  object  will get its own ID and entry, and the object will be in the "data" field of
           that entry.

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       This typemap entry delegates the handling of certain objects to the backend.

       A prime example is DateTime being handled by KiokuDB::Backend::Serialize::Storable. DateTime has
       efficient Storable hooks, and does not refer to any domain objects, so it is safe to assume that it can
       just be passed through for serialization.

Name

       KiokuDB::TypeMap::Entry::Passthrough - A typemap entry of objects that will be serialized by the backend.

Synopsis

           KiokuDB::TypeMap->new(
               entires => {
                   'Value::Object' => KiokuDB::TypeMap::Entry::Naive->new,
               },
           );

Version

       version 0.57

See Also