View Source Unreal.Writer.Create (Unreal v0.2.0)

Query builder for create operation.

alias Unreal.Writer

Writer.Create.init()
|> Writer.Create.name("users:bob")
|> Writer.Create.values(age: 18, verified: true)
|> Writer.Create.build()

Or

alias Unreal.Writer

Writer.Create.init("users:bob", age: 18, verified: true)
|> Writer.Create.build()

Link to this section Summary

Link to this section Types

@type t() :: %Unreal.Writer.Create{name: String.t(), values: keyword()}

Link to this section Functions

@spec build(t()) :: {String.t(), map()}
@spec init() :: t()
@spec init(String.t()) :: t()
@spec init(
  String.t(),
  keyword()
) :: t()
Link to this function

name(builder, record_name)

View Source
@spec name(t(), String.t()) :: t()
@spec values(
  t(),
  keyword()
) :: t()