select does not take rows but a query

query = tabla_x.fecha_x == mi_fecha
tabla_1 = crud.select (db.tabla_x, query)


On Sep 12, 5:25 am, Luis Díaz <[email protected]> wrote:
> commented that after about 1 hour try .. I did not understand
> and chooses to leave aside crud.select by SQLTables
>
> where:
> db.define_table ('tabla_x'
> Field ('type', 'string'),
> Field ('fecha_x', 'date'),
> )
>
> this does not work:
> mi_fecha = request.now
> rows = db (tabla_x.fecha_x == mi_fecha). select ()
>
> tabla_1 = crud.select (db.tabla_x, rows)
>
> --
> Díaz Luis
> TSU Analisis de Sistemas
> Universidad de Carabobo

Reply via email to