Hi there, I am using Sequel to access database tables with cryptic column names and for the sake of my own sanity I would like to do something like
``` class ShoppingCart < Sequel::Model(:shopping_carts) column :krptk89, as: :campaign_id end ShoppingCart.where(campaign_id: 3).sql # Expected: SELECT * FROM shopping_carts WHERE krptk89 = 3; ``` Does Sequel offer something like that? Thanks Leo -- *Whitebox Services GmbH* Ingeborg-Krummer-Schroth-Str. 30 | 79106 Freiburg | Deutschland T: +49 761 76 99 22 40 www.whitebox.eu <http://www.whitebox.eu> <http://www.whitebox.eu> Geschäftsführung: Salome Preiswerk, Dr. Birte Rothkopf Handelsregister: HRB 717773, Amtsgericht Freiburg i. Br. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/c6628f5b-3b80-48b9-abe4-ec1cb00cf708n%40googlegroups.com.
