Created
December 8, 2016 05:47
-
-
Save landongn/cdbdea271890a24e1b9d66589fc8e5a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** (Ecto.QueryError) the binding used in `from` must be selected in `select` when using `preload` in query: | |
from c in Server.Character, | |
where: c.player_id == ^..., | |
select: {c.name, c.id, c.class_id, c.experience, c.gold, c.level, c.weapon_id, c.armor_id, c.health, c.defense}, | |
preload: [:class, :weapon, :armor] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment