diff --git a/src/byrow.jl b/src/byrow.jl index a883538..cc8c8dd 100644 --- a/src/byrow.jl +++ b/src/byrow.jl @@ -18,6 +18,7 @@ a b 1 "x1" 2 "y2" 3 "z3" +``` """ macro byrow!(d, x) esc(byrow_helper(d, x)) diff --git a/src/map.jl b/src/map.jl index b87715c..be2256b 100644 --- a/src/map.jl +++ b/src/map.jl @@ -26,6 +26,7 @@ a copy b 1 1 "x" 2 2 "y" 3 3 "z" +``` """ macro map(d, x) esc(map_helper(d, x)) diff --git a/src/transform.jl b/src/transform.jl index 2294f43..72ca055 100644 --- a/src/transform.jl +++ b/src/transform.jl @@ -31,6 +31,7 @@ a b a .+ 1 1 "x" 2 2 "y" 3 3 "z" 4 +``` """ macro transform_vec(d, x) esc(transform_vec_helper(d, x)) @@ -66,6 +67,7 @@ a b a + 1 1 "x" 2 2 "y" 3 3 "z" 4 +``` """ macro transform(d, x) esc(transform_helper(d, x)) diff --git a/src/where.jl b/src/where.jl index e618690..0216ebb 100644 --- a/src/where.jl +++ b/src/where.jl @@ -21,6 +21,7 @@ Table with 1 rows, 2 columns: a b ────── 3 "z" +``` """ macro where_vec(d, expr) esc(where_vec_helper(d, expr)) @@ -45,6 +46,7 @@ Use `{}` syntax for automatically named `NamedTuples`. ## Examples ```jldoctest where + julia> using JuliaDB julia> t = table(@NT(a = [1,2,3], b = ["x","y","z"])); @@ -55,6 +57,7 @@ a b ────── 1 "x" 2 "y" +``` """ macro where(d, expr) esc(where_helper(d, expr))