Issue 21 in project dongle

2 views
Skip to first unread message

codesite...@google.com

unread,
Mar 19, 2007, 2:08:32 PM3/19/07
to dongle...@googlegroups.com
Issue 21: Allow DB default metatables
http://code.google.com/p/dongle/issues/detail?id=21

New issue report by jnwhiteh:
Using the Ace notion of ["*"] keys to allow for metatable default
definitions when registering defaults:

local defaults = {
profile = {
someTable = {
["*"] = {
["*"] = "monkey",
}
}
}

assert(db.profile.someTable.hello.text == "monkey")
assert(db.profile.someTable.hello.other == "monkey")


Issue attributes:
Status: Accepted
Owner: jnwhiteh
Labels: Type-Enhancement Priority-Medium Milestone-Release1.0

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 19, 2007, 3:46:20 PM3/19/07
to dongle...@googlegroups.com
Issue 21: Allow DB default metatables
http://code.google.com/p/dongle/issues/detail?id=21

Comment #1 by jnwhiteh:
Here's a patch that should cover all forms of nastiness

Attachments:
Issue21.diff 2.2 KB

codesite...@google.com

unread,
Mar 19, 2007, 3:46:30 PM3/19/07
to dongle...@googlegroups.com
Issue 21: Allow DB default metatables
http://code.google.com/p/dongle/issues/detail?id=21

Comment #2 by jnwhiteh:
(No comment was entered for this change.)


Issue attribute updates:
Status: Patch-Written

codesite...@google.com

unread,
Mar 19, 2007, 4:03:55 PM3/19/07
to dongle...@googlegroups.com
Issue 21: Allow DB default metatables
http://code.google.com/p/dongle/issues/detail?id=21

Comment #3 by jnwhiteh:
There's a bad line in there, make sure you remove the extra metatable copyTable.

Reply all
Reply to author
Forward
0 new messages