Consider following model:
class X(ndb.Model):
prop1 = ndb.StringProperty()
prop2 = ndb.StringProperty()
CREATE OR REPLACE | |
ALGORITHM=MERGE SQL SECURITY DEFINER VIEW `cms_view_bets_preplay` AS | |
SELECT | |
coalesce(`b_each_way`.`id`, `b`.`id`) AS `id`, | |
`b`.`status` AS `status`, | |
`b`.`history_id` AS `transaction_id`, | |
`b_each_way`.`win_bet_id` AS `ew_win_bet_id`, | |
coalesce(`b_each_way`.`outcome`, `b`.`outcome`) AS `outcome`, | |
`b`.`is_each_way` AS `is_each_way`, | |
`b`.`bet_structure_id` AS `bet_structure_id`, |
var _ = require('underscore') | |
// function sayHello() { | |
// console.log('Hello, World'); | |
// } | |
// _.times(5, sayHello); | |
function test(i) { | |
var arr = []; |