Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ConstructorType
- data NamedRef ref = NamedRef {
- reversedSegments :: ReversedName
- ref :: ref
- newtype ScopedRow ref = ScopedRow (NamedRef ref)
Documentation
data ConstructorType Source #
Instances
FromField ConstructorType Source # | |
Defined in U.Codebase.Sqlite.NamedRef | |
ToField ConstructorType Source # | |
Defined in U.Codebase.Sqlite.NamedRef toField :: ConstructorType -> SQLData # |
NamedRef | |
|
Instances
Foldable NamedRef Source # | |
Defined in U.Codebase.Sqlite.NamedRef fold :: Monoid m => NamedRef m -> m # foldMap :: Monoid m => (a -> m) -> NamedRef a -> m # foldMap' :: Monoid m => (a -> m) -> NamedRef a -> m # foldr :: (a -> b -> b) -> b -> NamedRef a -> b # foldr' :: (a -> b -> b) -> b -> NamedRef a -> b # foldl :: (b -> a -> b) -> b -> NamedRef a -> b # foldl' :: (b -> a -> b) -> b -> NamedRef a -> b # foldr1 :: (a -> a -> a) -> NamedRef a -> a # foldl1 :: (a -> a -> a) -> NamedRef a -> a # elem :: Eq a => a -> NamedRef a -> Bool # maximum :: Ord a => NamedRef a -> a # minimum :: Ord a => NamedRef a -> a # | |
Traversable NamedRef Source # | |
Functor NamedRef Source # | |
Show ref => Show (NamedRef ref) Source # | |
FromRow ref => FromRow (NamedRef ref) Source # | |
Defined in U.Codebase.Sqlite.NamedRef | |
ToRow ref => ToRow (NamedRef ref) Source # | |
Defined in U.Codebase.Sqlite.NamedRef |
newtype ScopedRow ref Source #
The new scoped
name lookup format is different from the old version.
Specifically, the scoped format adds the lastNameSegment
as well as adding a trailing .
to the db format
of both the namespace and reversed_name.
This type has a ToRow instance of the form: [reversedName, namespace, lastNameSegment] <> ref fields...