Allow passing named arguments to DB.mapping
This commit is contained in:
parent
8a913d1ef2
commit
1a4622ee59
|
@ -138,4 +138,7 @@ module DB
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
macro mapping(**properties)
|
||||||
|
::DB.mapping({{properties}})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue