COMMUNITY

Mysql tinyInt question

Mysql tinyInt question

Hashlink convert to Int

but Neko convert to Bool? Maybe Neko is wrong.

 var result = cnx.request('select * from fa_customer');

		
	
		if (result != null) {
			for (row in result) {
					trace(row.isgm);//neko return false,but Hashlink return 0
				
			}
		}

What happens if you do trace(row.isgm + 0);?
The value is likely to be dynamic so the trace might be wrong.

neko can’t cast bool to Uint or Int .

bug report here