Hi!
boss_db:find(game_mark, [{account_id, equals, AccountId}, {game_id, equals,
GameId}]).
It excute"SELECT * FROM game_marks WHERE game_id = 'game-5' AND account_id
= 'account-1' AND TRUE ORDER BY id ASC";
But i want it to excute"SELECT * FROM game_marks WHERE game_id = 5 AND
account_id = 1 AND TRUE ORDER BY id ASC"
Except this:
[_Pre, TrueAccountId]" = string.tokens("account-5", "-").
Could you tell me is there other better method to do this?
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/ee64417d-d7f3-43c4-a7f3-750267f240aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.