X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FFAQ.pod;h=9281a992c741a5e10b00c285b2688cc17b351860;hb=51bec050485100ecaf8584325a7e9bce9d4fd6bc;hp=7bced4c16f79cc177ee5f9aa9a6ba73c767be35e;hpb=a14a46e22efe21c8c516de0c97ce13c42d1d8056;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Manual/FAQ.pod b/lib/DBIx/Class/Manual/FAQ.pod index 7bced4c..9281a99 100644 --- a/lib/DBIx/Class/Manual/FAQ.pod +++ b/lib/DBIx/Class/Manual/FAQ.pod @@ -56,6 +56,12 @@ Create your classes manually, as above. Write a script that calls L. See there for details, or the L. +=item .. store/retrieve Unicode data in my database? + +Make sure you database supports Unicode and set the connect +attributes appropriately - see +L + =item .. connect to my database? Once you have created all the appropriate table/source classes, and an @@ -126,7 +132,7 @@ allow you to supply a hashref containing the condition across which the tables are to be joined. The condition may contain as many fields as you like. See L. -=item .. define a relatiopnship across an intermediate table? (many-to-many) +=item .. define a relationship across an intermediate table? (many-to-many) Read the documentation on L. @@ -182,15 +188,9 @@ attribute. See L. =item .. sort my results based on fields I've aliased using C? -You don't. You'll need to supply the same functions/expressions to -C, as you did to C attribute, such as: - - ->search({}, { select => [ \'now() AS currenttime'] }) - -Then you can use the alias in your C attribute. +You didn't alias anything, since L +B with the produced SQL. See +L for details. =item .. group the results of my search? @@ -199,15 +199,7 @@ attribute, see L. =item .. group my results based on fields I've aliased using C? -You don't. You'll need to supply the same functions/expressions to -C, as you did to C attribute, such as: - - ->search({}, { select => [ \'now() AS currenttime'] }) - -Then you can use the alias in your C attribute. +You don't. See the explanation on ordering by an alias above. =item .. filter the results of my search? @@ -641,7 +633,7 @@ Likely you have/had two copies of postgresql installed simultaneously, the second one will use a default port of 5433, while L is compiled with a default port of 5432. -You can chance the port setting in C. +You can change the port setting in C. =item I've lost or forgotten my mysql password