Re: Creating new tables

2005-11-16 Thread james.zhang
在 2005-11-15 2:56:17,"panos" <[EMAIL PROTECTED]> 写道: > > Hi, > > is it possible to create new tables not specified in the model at > runtime? > If yes then > a. how can you do that? > b. can the new tables be accessed using the database API? > > Thank you very much > Best Regards > >

Re: Creating new tables

2005-11-15 Thread Kenneth Gonsalves
On Tuesday 15 Nov 2005 2:42 pm, Jeremy Dunck wrote: > It sounds to me like you're complaining that a relational database > isn't the right tool for your job. thats what i was trying to say -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

Re: Creating new tables

2005-11-15 Thread Jeremy Dunck
On 11/15/05, panos <[EMAIL PROTECTED]> wrote: > > Well I have thought about that but there are some issues. > First of all the table "logdetails" will become huge. Imagine logging > values of 5000 variables > every 15minutes! > Secondly not all variables are of the same time. They can be boolean,

Re: Creating new tables

2005-11-15 Thread panos
Well I have thought about that but there are some issues. First of all the table "logdetails" will become huge. Imagine logging values of 5000 variables every 15minutes! Secondly not all variables are of the same time. They can be boolean, int and real. If you have just one table for all of them t

Re: Creating new tables

2005-11-15 Thread Jeremy Dunck
On 11/15/05, panos <[EMAIL PROTECTED]> wrote: > > I don't know if it is strange or not, but it came to me as a natural > choice for my application. > Think of a logging application where some variables need to be logged > and we need a table for > each variable holding a great number of "timestamp

Re: Creating new tables

2005-11-15 Thread Kenneth Gonsalves
On Tuesday 15 Nov 2005 1:39 pm, panos wrote: > I don't know if it is strange or not, but it came to me as a natural > choice for my application. > Think of a logging application where some variables need to be logged > and we need a table for > each variable holding a great number of "timestamp -

Re: Creating new tables

2005-11-15 Thread panos
I don't know if it is strange or not, but it came to me as a natural choice for my application. Think of a logging application where some variables need to be logged and we need a table for each variable holding a great number of "timestamp - value" entries. The thing is we don't know beforehand w

Re: Creating new tables

2005-11-14 Thread Tom Tobin
On 11/15/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > Not true; you can set up a model to deal with a database created by > > hand (although I'm not sure why you'd want to *purposely* create a > > database for Django by hand; it does a good job of taking care of > > that for you). > > what

Re: Creating new tables

2005-11-14 Thread Kenneth Gonsalves
On Tuesday 15 Nov 2005 10:14 am, Tom Tobin wrote: > On 11/14/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Tuesday 15 Nov 2005 12:26 am, panos wrote: > > > b. can the new tables be accessed using the database API? > > > > no > > Not true; you can set up a model to deal with a database cr

Re: Creating new tables

2005-11-14 Thread Tom Tobin
On 11/14/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Tuesday 15 Nov 2005 12:26 am, panos wrote: > > b. can the new tables be accessed using the database API? > > no Not true; you can set up a model to deal with a database created by hand (although I'm not sure why you'd want to *purpo

Re: Creating new tables

2005-11-14 Thread Kenneth Gonsalves
On Tuesday 15 Nov 2005 12:26 am, panos wrote: > Hi, > > is it possible to create new tables not specified in the model at > runtime? yes, but why? > If yes then > a. how can you do that? access the database directly - not through django > b. can the new tables be accessed using the database AP

Creating new tables

2005-11-14 Thread panos
Hi, is it possible to create new tables not specified in the model at runtime? If yes then a. how can you do that? b. can the new tables be accessed using the database API? Thank you very much Best Regards Panos