Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
takapi327 committed Dec 31, 2024
1 parent dfb4eba commit 68d356a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions module/ldbc-dsl/src/main/scala/ldbc/dsl/codec/Codec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ import org.typelevel.twiddles.TwiddleSyntax

import ldbc.sql.ResultSet

/**
* Symmetric encoder and decoder of MySQL data to and from Scala types.
*
* @tparam A
* Types handled in Scala
*/
trait Codec[A] extends Encoder[A], Decoder[A]:
self =>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.typelevel.twiddles.TwiddleSyntax
import ldbc.sql.ResultSet

/**
* Class to get the DataType that matches the Scala type information from the ResultSet.
* Trait to get the DataType that matches the Scala type information from the ResultSet.
*
* @tparam A
* Scala types that match SQL DataType
Expand Down

0 comments on commit 68d356a

Please sign in to comment.