Add reference to DB::Serializable in docs (#197)

This commit is contained in:
Johannes Müller 2023-11-09 12:22:51 +01:00 committed by GitHub
parent 285e865e3a
commit 340b6e4b9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,6 +75,10 @@ require "log"
# end # end
# ``` # ```
# #
# ### Object mapping
#
# The `DB::Serializable` module implements a declarative mapping from DB result
# sets to Crystal types.
module DB module DB
Log = ::Log.for(self) Log = ::Log.for(self)