コード例 #1
0
class Contacts(cellql.Table):
    # Now let's add columns. First, the ever-popular name fields:
    fname = cellql.string()
    lname = cellql.string()

    # And, heck, an age might be good:
    age = cellql.integer()

    # And a free-form dictionary of phone numbers
    phone = cellql.blob()
コード例 #2
0
	class Test(cellql.Table):
	    i = cellql.integer(value=0)
コード例 #3
0
	class Test(cellql.Table):
	    s = cellql.string()
	    r = cellql.real()
	    b = cellql.blob()
	    i = cellql.integer()