﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25768	Cast Variable, and provide multiplication	Ben Liyanage	nobody	"Hey,

I'm trying to do an orm query and have run into two scenarios where I believe I need to use extra.  The two scenarios are:

== Type Casting

Casting a column to an int. Specifically, I have a boolean column that I need to do something like this:

    select column::int

== Multiplication

I need to multiply a column by a constant, or another column.  Specifically the column from the previous cast.

    select new_column * -1
    select column1 * column2

== Full Select Example

Ultimately I need to combine the above two like this:

    select bool_column::int * -1 * another_int_column"	Uncategorized	closed	Uncategorized	1.8	Normal	invalid	QuerySet.extra		Unreviewed	0	0	0	0	0	0
