Hoogle Search
Within LTS Haskell 24.19 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
deriveAvro' :: Schema -> Q [Dec]avro Data.Avro.Deriving Same as deriveAvroWithOptions' but uses defaultDeriveOptions
deriveAvro' = deriveAvroWithOptions' defaultDeriveOptions
deriveAvroFromByteString :: ByteString -> Q [Dec]avro Data.Avro.Deriving Same as deriveAvro but takes a ByteString rather than FilePath
deriveAvroWithOptions :: DeriveOptions -> FilePath -> Q [Dec]avro Data.Avro.Deriving Derives Haskell types from the given Avro schema file. These Haskell types support both reading and writing to Avro. For an Avro schema with a top-level record called com.example.Foo, this generates:
- a Schema with the name schema'Foo or schemacom'exampleFoo, depending on the namespaceBehavior setting.
- Haskell types for each named type defined in the schema
- HasSchema instances for each type
- FromAvro instances for each type
- ToAvro instances for each type
deriveAvroWithOptions' :: DeriveOptions -> Schema -> Q [Dec]avro Data.Avro.Deriving Derive Haskell types from the given Avro schema. For an Avro schema with a top-level definition com.example.Foo, this generates:
derivedDelete :: TableDerivable r => (Record Flat r -> Restrict (PlaceHolders p)) -> Delete prelational-query Database.Relational Deprecated: use delete instead of this.
-
relational-query Database.Relational Deprecated: use delete' instead of this.
derivedInsert :: (PersistableWidth r, TableDerivable r) => Pi r r' -> Insert r'relational-query Database.Relational Deprecated: use insert instead of this.
derivedInsertQuery :: TableDerivable r => Pi r r' -> Relation p r' -> InsertQuery prelational-query Database.Relational Deprecated: use insertQuery instead of this.
derivedInsertValue :: TableDerivable r => Register r (PlaceHolders p) -> Insert prelational-query Database.Relational Deprecated: use insertValue instead of this.
derivedInsertValue' :: TableDerivable r => Config -> Register r (PlaceHolders p) -> Insert prelational-query Database.Relational Deprecated: use insertValue' instead of this.