18 years agoclean up transaction handling
David Kamholz [Sat, 10 Dec 2005 16:54:34 +0000]
clean up transaction handling
- tx_begin, tx_commit, tx_rollback (old methods are aliased)
- DBI.pm uses counter to do nested transactions portably

18 years agoitem => head2 in docs
David Kamholz [Sat, 10 Dec 2005 16:25:12 +0000]
item => head2 in docs

18 years agodocs updates to Relationship and ResultSet
David Kamholz [Sat, 10 Dec 2005 15:48:13 +0000]
docs updates to Relationship and ResultSet

18 years ago- updated manifest and manifest.skip
David Kamholz [Sat, 10 Dec 2005 15:06:51 +0000]
- updated manifest and manifest.skip
- added support in BelongsTo for string third argument specifying foreign column name (and test)

18 years agoCheck for primary key existance
Jess Robinson [Sat, 10 Dec 2005 14:14:11 +0000]
Check for primary key existance

18 years agoMerged patched from andyg to throw useful errors during relationship loading
Matt S Trout [Fri, 9 Dec 2005 19:40:00 +0000]
Merged patched from andyg to throw useful errors during relationship loading

18 years agominor pod fixes
Brian Cassidy [Fri, 9 Dec 2005 19:25:51 +0000]
minor pod fixes

18 years agoMoved search_like to resultset
Matt S Trout [Fri, 9 Dec 2005 04:58:16 +0000]
Moved search_like to resultset

18 years agoLo, doth everything now use resultset_instance
Matt S Trout [Fri, 9 Dec 2005 02:41:03 +0000]
Lo, doth everything now use resultset_instance

18 years agoMerge 'trunk' into 'DBIx-Class-resultset'
David Kamholz [Thu, 8 Dec 2005 03:35:27 +0000]
Merge 'trunk' into 'DBIx-Class-resultset'

18 years agoupdated contributors list
David Kamholz [Wed, 7 Dec 2005 21:35:27 +0000]
updated contributors list

18 years agoManual::Cookbook patch from Krzysztof Krzyzaniak
Matt S Trout [Wed, 7 Dec 2005 01:52:13 +0000]
Manual::Cookbook patch from Krzysztof Krzyzaniak

18 years agoComponentised fixup from Vsevolod (Simon) Ilyushchenko
Matt S Trout [Wed, 7 Dec 2005 01:38:50 +0000]
Componentised fixup from Vsevolod (Simon) Ilyushchenko

18 years agoClassdata test from abraxxa
Matt S Trout [Wed, 7 Dec 2005 01:37:55 +0000]
Classdata test from abraxxa

18 years agoRequire Data::Page 2.00
Andy Grundman [Mon, 5 Dec 2005 18:34:09 +0000]
Require Data::Page 2.00

19 years agodie() if the user inadvertently tries to set the column list using
Jules Bean [Thu, 1 Dec 2005 20:04:37 +0000]
die() if the user inadvertently tries to set the column list using
columns() as if it was add_columns().

19 years agoPatch from abraxxa to make set_primary_key barf if called with non-existant columns
Matt S Trout [Thu, 1 Dec 2005 17:49:11 +0000]
Patch from abraxxa to make set_primary_key barf if called with non-existant columns

19 years agoRemoved duplicate C3 dep from Build.PL
Andy Grundman [Thu, 1 Dec 2005 16:41:43 +0000]
Removed duplicate C3 dep from Build.PL

19 years agoMoved search_literal, count, count_literal onto resultset
Matt S Trout [Thu, 1 Dec 2005 07:55:29 +0000]
Moved search_literal, count, count_literal onto resultset

19 years agoMoved search to resultset, created ResultSetInstance
Matt S Trout [Thu, 1 Dec 2005 06:30:11 +0000]
Moved search to resultset, created ResultSetInstance

19 years agoMerge 'trunk' into 'DBIx-Class-resultset'
Matt S Trout [Thu, 1 Dec 2005 00:18:30 +0000]
Merge 'trunk' into 'DBIx-Class-resultset'

r4123@obrien (orig r345):  matthewt | 2005-11-30 18:18:30 +0000
- Added improved Schema load_classes syntax from abraxxa

19 years agoAdded improved Schema load_classes syntax from abraxxa
Matt S Trout [Wed, 30 Nov 2005 18:18:30 +0000]
Added improved Schema load_classes syntax from abraxxa

19 years agoNuked Data::Page use call in Table
Matt S Trout [Wed, 30 Nov 2005 05:33:08 +0000]
Nuked Data::Page use call in Table

19 years agoCleanup in resultset, made storage prepare_cached for non-select statements
Matt S Trout [Mon, 28 Nov 2005 02:18:22 +0000]
Cleanup in resultset, made storage prepare_cached for non-select statements

19 years agoMerge 'trunk' into 'DBIx-Class-resultset'
Matt S Trout [Sun, 27 Nov 2005 22:34:52 +0000]
Merge 'trunk' into 'DBIx-Class-resultset'

r4028@obrien (orig r333):  matthewt | 2005-11-27 16:34:52 +0000
- Fixed InflateColumn to call set_column during set_inflated_column

19 years agoFixed InflateColumn to call set_column during set_inflated_column
Matt S Trout [Sun, 27 Nov 2005 16:34:52 +0000]
Fixed InflateColumn to call set_column during set_inflated_column

19 years agoMerge 'DBIx-Class-C3' into 'DBIx-Class-resultset'
Matt S Trout [Sun, 27 Nov 2005 03:50:33 +0000]
Merge 'DBIx-Class-C3' into 'DBIx-Class-resultset'

r3593@obrien (orig r290):  paulm | 2005-11-08 17:02:49 +0000
Minor whitespace tweaks to make each file more distinct. Add note for CDBI folks to watch out.

r3594@obrien (orig r291):  matthewt | 2005-11-08 17:25:02 +0000
- Added fix to avoid undef warnings in CDBICompat stringify
r3746@obrien (orig r292):  paulm | 2005-11-10 14:05:55 +0000
Added some examples and explanations for search()

r3747@obrien (orig r293):  paulm | 2005-11-10 15:15:33 +0000
Change /record ?set/ to resultset incl. ResultSet in POD; typo.

r3749@obrien (orig r295):  andyg | 2005-11-14 17:57:49 +0000
Fixed typo in Build.PL
r3751@obrien (orig r297):  matthewt | 2005-11-15 03:55:24 +0000
- Bugfixes, optimisations
r3752@obrien (orig r298):  matthewt | 2005-11-15 06:21:38 +0000
- Added has_column and column_info methods
r3757@obrien (orig r303):  paulm | 2005-11-15 15:26:22 +0000
Add Class::Trigger and DBIx::ContextualFetch to build requirements
(needed for CDBICompat only)

r3760@obrien (orig r306):  ningu | 2005-11-18 17:26:52 +0000
- fix PK::Auto bug where it wouldn't recognize a defined but false PK
r3761@obrien (orig r307):  ningu | 2005-11-18 17:35:41 +0000
- update fix in last rev to use has_column
r3940@obrien (orig r311):  ningu | 2005-11-20 21:56:49 +0000
- docs patch from dopplecoder with cleanups to Cookbook example
r3941@obrien (orig r312):  ningu | 2005-11-20 22:00:25 +0000
- small cleanup to last patch
r3989@obrien (orig r316):  matthewt | 2005-11-24 23:56:06 +0000
- Applied Brandon Black's patch to PK::Auto::Pg
r4014@obrien (orig r319):  matthewt | 2005-11-26 23:10:13 +0000
 r3754@obrien (orig r300):  matthewt | 2005-11-15 09:05:09 +0000
 - Broke everything (C3 branch)

r4015@obrien (orig r320):  matthewt | 2005-11-26 23:10:30 +0000
 r3755@obrien (orig r301):  matthewt | 2005-11-15 09:32:16 +0000
 - Schema now loads

r4016@obrien (orig r321):  matthewt | 2005-11-26 23:10:36 +0000
 r3756@obrien (orig r302):  matthewt | 2005-11-15 10:00:36 +0000
 - Getting there ...

r4017@obrien (orig r322):  matthewt | 2005-11-26 23:10:42 +0000

r4018@obrien (orig r323):  matthewt | 2005-11-26 23:10:48 +0000
 r3759@obrien (orig r305):  matthewt | 2005-11-15 20:48:44 +0000
 - Shoved Class::Data::Inheritable into DBIx::Class, more stuff works now

r4019@obrien (orig r324):  matthewt | 2005-11-26 23:11:03 +0000
 r3763@obrien (orig r309):  matthewt | 2005-11-20 02:29:04 +0000
 - Dumped anti-NEXT-breakage hack in CDBICompat stringify

r4020@obrien (orig r325):  matthewt | 2005-11-26 23:11:10 +0000
 r3764@obrien (orig r310):  matthewt | 2005-11-20 17:02:23 +0000
 - 0.3999_01 changes

r4021@obrien (orig r326):  matthewt | 2005-11-26 23:11:20 +0000
 r3987@obrien (orig r314):  matthewt | 2005-11-24 05:27:49 +0000
 - With the addition of Class::C3 0.07 and a few tweaks, C3 branch works!

r4022@obrien (orig r327):  matthewt | 2005-11-26 23:13:03 +0000
 r3988@obrien (orig r315):  matthewt | 2005-11-24 06:23:39 +0000
 - Updated version and POD

r4023@obrien (orig r328):  matthewt | 2005-11-26 23:13:10 +0000
 r3990@obrien (orig r317):  matthewt | 2005-11-25 01:15:47 +0000
 - Version bumped to 0.03999_03, fix for Auto::PK issues in MySQL tests

r4024@obrien (orig r329):  matthewt | 2005-11-26 23:13:19 +0000

r4026@obrien (orig r331):  matthewt | 2005-11-27 03:50:14 +0000
- Committed version bump to DBIx::Class

19 years agoCommitted version bump to DBIx::Class
Matt S Trout [Sun, 27 Nov 2005 03:50:14 +0000]
Committed version bump to DBIx::Class

19 years agoMerge 'DBIx-Class-C3' into 'trunk'
Matt S Trout [Sat, 26 Nov 2005 23:13:19 +0000]
Merge 'DBIx-Class-C3' into 'trunk'

19 years agoMerge 'DBIx-Class-C3' into 'trunk'
Matt S Trout [Sun, 20 Nov 2005 23:02:23 +0000]
Merge 'DBIx-Class-C3' into 'trunk'

19 years agoMerge 'DBIx-Class-C3' into 'trunk'
Matt S Trout [Wed, 16 Nov 2005 02:48:44 +0000]
Merge 'DBIx-Class-C3' into 'trunk'

19 years agoMerge 'trunk' into 'DBIx-Class-C3'
Matt S Trout [Fri, 25 Nov 2005 05:56:06 +0000]
Merge 'trunk' into 'DBIx-Class-C3'

r3989@obrien (orig r316):  matthewt | 2005-11-24 23:56:06 +0000
- Applied Brandon Black's patch to PK::Auto::Pg

19 years agoVersion bumped to 0.03999_03, fix for Auto::PK issues in MySQL tests
Matt S Trout [Fri, 25 Nov 2005 01:15:47 +0000]
Version bumped to 0.03999_03, fix for Auto::PK issues in MySQL tests

19 years agoApplied Brandon Black's patch to PK::Auto::Pg
Matt S Trout [Thu, 24 Nov 2005 23:56:06 +0000]
Applied Brandon Black's patch to PK::Auto::Pg

19 years agoUpdated version and POD
Matt S Trout [Thu, 24 Nov 2005 06:23:39 +0000]
Updated version and POD

19 years agoWith the addition of Class::C3 0.07 and a few tweaks, C3 branch works!
Matt S Trout [Thu, 24 Nov 2005 05:27:49 +0000]
With the addition of Class::C3 0.07 and a few tweaks, C3 branch works!

19 years agoMerge 'trunk' into 'DBIx-Class-C3'
Matt S Trout [Wed, 23 Nov 2005 01:06:01 +0000]
Merge 'trunk' into 'DBIx-Class-C3'

r3940@obrien (orig r311):  ningu | 2005-11-20 21:56:49 +0000
- docs patch from dopplecoder with cleanups to Cookbook example
r3941@obrien (orig r312):  ningu | 2005-11-20 22:00:25 +0000
- small cleanup to last patch

19 years agosmall cleanup to last patch
David Kamholz [Sun, 20 Nov 2005 22:00:25 +0000]
small cleanup to last patch

19 years agodocs patch from dopplecoder with cleanups to Cookbook example
David Kamholz [Sun, 20 Nov 2005 21:56:49 +0000]
docs patch from dopplecoder with cleanups to Cookbook example

19 years ago0.3999_01 changes
Matt S Trout [Sun, 20 Nov 2005 17:02:23 +0000]
0.3999_01 changes

19 years agoDumped anti-NEXT-breakage hack in CDBICompat stringify
Matt S Trout [Sun, 20 Nov 2005 02:29:04 +0000]
Dumped anti-NEXT-breakage hack in CDBICompat stringify

19 years agoMerge 'trunk' into 'DBIx-Class-C3'
Matt S Trout [Sat, 19 Nov 2005 23:38:10 +0000]
Merge 'trunk' into 'DBIx-Class-C3'

r3760@obrien (orig r306):  ningu | 2005-11-18 17:26:52 +0000
- fix PK::Auto bug where it wouldn't recognize a defined but false PK
r3761@obrien (orig r307):  ningu | 2005-11-18 17:35:41 +0000
- update fix in last rev to use has_column

19 years agoupdate fix in last rev to use has_column
David Kamholz [Fri, 18 Nov 2005 17:35:41 +0000]
update fix in last rev to use has_column

19 years agofix PK::Auto bug where it wouldn't recognize a defined but false PK
David Kamholz [Fri, 18 Nov 2005 17:26:52 +0000]
fix PK::Auto bug where it wouldn't recognize a defined but false PK

19 years agoShoved Class::Data::Inheritable into DBIx::Class, more stuff works now
Matt S Trout [Tue, 15 Nov 2005 20:48:44 +0000]
Shoved Class::Data::Inheritable into DBIx::Class, more stuff works now

19 years agoMerge 'trunk' into 'DBIx-Class-C3'
Paul Makepeace [Tue, 15 Nov 2005 21:26:22 +0000]
Merge 'trunk' into 'DBIx-Class-C3'

r3757@obrien (orig r303):  paulm | 2005-11-15 15:26:22 +0000
Add Class::Trigger and DBIx::ContextualFetch to build requirements
(needed for CDBICompat only)

19 years agoAdd Class::Trigger and DBIx::ContextualFetch to build requirements
Paul Makepeace [Tue, 15 Nov 2005 15:26:22 +0000]
Add Class::Trigger and DBIx::ContextualFetch to build requirements
(needed for CDBICompat only)

19 years agoGetting there ...
Matt S Trout [Tue, 15 Nov 2005 10:00:36 +0000]
Getting there ...

19 years agoSchema now loads
Matt S Trout [Tue, 15 Nov 2005 09:32:16 +0000]
Schema now loads

19 years agoBroke everything (C3 branch)
Matt S Trout [Tue, 15 Nov 2005 09:05:09 +0000]
Broke everything (C3 branch)

19 years agoAdded has_column and column_info methods
Matt S Trout [Tue, 15 Nov 2005 06:21:38 +0000]
Added has_column and column_info methods

19 years agoBugfixes, optimisations
Matt S Trout [Tue, 15 Nov 2005 03:55:24 +0000]
Bugfixes, optimisations

19 years agoFixed typo in Build.PL
Andy Grundman [Mon, 14 Nov 2005 17:57:49 +0000]
Fixed typo in Build.PL

19 years agoChange /record ?set/ to resultset incl. ResultSet in POD; typo.
Paul Makepeace [Thu, 10 Nov 2005 15:15:33 +0000]
Change /record ?set/ to resultset incl. ResultSet in POD; typo.

19 years agoAdded some examples and explanations for search()
Paul Makepeace [Thu, 10 Nov 2005 14:05:55 +0000]
Added some examples and explanations for search()

19 years agoAdded fix to avoid undef warnings in CDBICompat stringify
Matt S Trout [Tue, 8 Nov 2005 17:25:02 +0000]
Added fix to avoid undef warnings in CDBICompat stringify

19 years agoMinor whitespace tweaks to make each file more distinct. Add note for CDBI folks...
Paul Makepeace [Tue, 8 Nov 2005 17:02:49 +0000]
Minor whitespace tweaks to make each file more distinct. Add note for CDBI folks to watch out.

19 years agoRemove the dubious primary keys check. Not clear it's useful or valid.
Paul Makepeace [Mon, 7 Nov 2005 18:18:48 +0000]
Remove the dubious primary keys check. Not clear it's useful or valid.

19 years agoadd manual descriptions
Marcus Ramberg [Thu, 3 Nov 2005 22:08:04 +0000]
add manual descriptions

19 years agoReleased 0.03003
Andy Grundman [Thu, 3 Nov 2005 21:59:55 +0000]
Released 0.03003

19 years agoAdded names to PODs
Matt S Trout [Thu, 3 Nov 2005 21:17:53 +0000]
Added names to PODs

19 years agoPOD fixes
Matt S Trout [Thu, 3 Nov 2005 21:10:26 +0000]
POD fixes

19 years ago* made HasOne::has_one and HasMany::has_many look more similar as a route to possible...
Paul Makepeace [Thu, 3 Nov 2005 16:25:47 +0000]
* made HasOne::has_one and HasMany::has_many look more similar as a route to possible refactor
* ensured all calls against $f_class were preceded by a check to see if it loaded OK
* added diagnostic notes on what foreign key name was guessed

19 years agoadd (very ugly) hack to _construct_object to support function calls in resultsets...
David Kamholz [Wed, 2 Nov 2005 20:28:00 +0000]
add (very ugly) hack to _construct_object to support function calls in resultsets. they show up as columns in the row object, accessible with get_column

19 years agoChanged use to require in Relationship/Base to avoid import
Matt S Trout [Wed, 2 Nov 2005 16:24:00 +0000]
Changed use to require in Relationship/Base to avoid import

19 years agopass through $attrs to add_relationship when $cond is undefined
David Kamholz [Tue, 1 Nov 2005 19:03:36 +0000]
pass through $attrs to add_relationship when $cond is undefined

19 years ago- fix ResultSet bug when requesting a subset of columns
David Kamholz [Tue, 1 Nov 2005 00:12:05 +0000]
- fix ResultSet bug when requesting a subset of columns
- fix _create_ID to return undef when primary keys are not present

19 years agoObjectCache:
David Kamholz [Sun, 30 Oct 2005 06:37:03 +0000]
ObjectCache:
- override _row_to_object
- a couple other minor fixes/improvements.
- add pod, indicate that it is experimental

19 years agoTweak to ResultSet to fix prefetch for nonexistant might_have
Matt S Trout [Mon, 24 Oct 2005 16:16:49 +0000]
Tweak to ResultSet to fix prefetch for nonexistant might_have

19 years agorelease of 0.30002.
Marcus Ramberg [Mon, 24 Oct 2005 08:39:02 +0000]
release of 0.30002.
added info about ->table

19 years agodescribed schema better, and added note about when you want to use it
Marcus Ramberg [Thu, 20 Oct 2005 20:06:40 +0000]
described schema better, and added note about when you want to use it
in the intro.

19 years agoadd eval "require $f_class" to HasOne.pm -- otherwise it can fail when the class...
David Kamholz [Sun, 16 Oct 2005 00:41:26 +0000]
add eval "require $f_class" to HasOne.pm -- otherwise it can fail when the class hasn't been loaded (and load order isn't always controllable, e.g. with Catalyst)

19 years agofix stupid error in set_columns pod
David Kamholz [Sat, 15 Oct 2005 06:30:52 +0000]
fix stupid error in set_columns pod

19 years agoadd get_columns and set_columns methods to Row.pm
David Kamholz [Sat, 15 Oct 2005 06:26:34 +0000]
add get_columns and set_columns methods to Row.pm

19 years agomerged in hartmeier quickstart
Marcus Ramberg [Fri, 14 Oct 2005 15:35:52 +0000]
merged in hartmeier quickstart
updated attributes.

19 years agoMore docs.
Marcus Ramberg [Fri, 14 Oct 2005 15:21:07 +0000]
More docs.

19 years agoimproved docs.
Marcus Ramberg [Fri, 14 Oct 2005 14:23:42 +0000]
improved docs.

19 years agoUpdate manifest.
CL Kao [Mon, 10 Oct 2005 23:36:37 +0000]
Update manifest.

19 years agoAdd a DBIx::UUIDColumns plugin.
CL Kao [Mon, 10 Oct 2005 17:43:03 +0000]
Add a DBIx::UUIDColumns plugin.

19 years agoVersion bumped to 0.03002, assorted minor changes
Matt S Trout [Fri, 30 Sep 2005 18:01:20 +0000]
Version bumped to 0.03002, assorted minor changes

19 years agoRolled back change to compose_connection
Dan Kubb [Wed, 28 Sep 2005 10:41:48 +0000]
Rolled back change to compose_connection

19 years agofixed bug where class_resolver was mistakenly clobbered in compose_connection
Dan Kubb [Wed, 28 Sep 2005 10:38:49 +0000]
fixed bug where class_resolver was mistakenly clobbered in compose_connection

19 years agoadded experimental ObjectCache.pm (load before Core), no tests yet and not included...
David Kamholz [Tue, 27 Sep 2005 22:36:23 +0000]
added experimental ObjectCache.pm (load before Core), no tests yet and not included by default, but the basics work -- improvements welcome

19 years agopatch CDBI live object index emulation to use ->ID method, add tests for ->ID
David Kamholz [Tue, 27 Sep 2005 22:34:12 +0000]
patch CDBI live object index emulation to use ->ID method, add tests for ->ID

19 years agoadd ->ID method to PK.pm to generate unique object id (takes a hash of primary key...
David Kamholz [Tue, 27 Sep 2005 22:29:34 +0000]
add ->ID method to PK.pm to generate unique object id (takes a hash of primary key column-value pairs)

19 years agoFinal 0.03001 release v0.03001
Andy Grundman [Fri, 23 Sep 2005 17:59:46 +0000]
Final 0.03001 release

19 years agoUpdated version to 0.03001, added bug fixes to Changes
Matt S Trout [Fri, 23 Sep 2005 17:18:52 +0000]
Updated version to 0.03001, added bug fixes to Changes

19 years agoFixed prefetch bug and added a test for it (spotted by Purge)
Matt S Trout [Fri, 23 Sep 2005 16:48:37 +0000]
Fixed prefetch bug and added a test for it (spotted by Purge)

19 years agoMore fixes to HasA/BelongsTo courtesy of abraxxa
Matt S Trout [Fri, 23 Sep 2005 14:59:58 +0000]
More fixes to HasA/BelongsTo courtesy of abraxxa

19 years agoTweaks to $obj->update and relationship helpers
Matt S Trout [Fri, 23 Sep 2005 13:08:47 +0000]
Tweaks to $obj->update and relationship helpers

19 years agoError message fix (cheers Siracusa), CDBICompat count_all fix (cheers Numa)
Matt S Trout [Tue, 20 Sep 2005 06:46:39 +0000]
Error message fix (cheers Siracusa), CDBICompat count_all fix (cheers Numa)

19 years agoFinal commit for 0.03
Matt S Trout [Tue, 20 Sep 2005 00:43:32 +0000]
Final commit for 0.03

19 years agoMoved might_have compat back out into a CDBICompat class and documented stuff
Matt S Trout [Sun, 18 Sep 2005 17:58:03 +0000]
Moved might_have compat back out into a CDBICompat class and documented stuff

19 years agoAddition of a bunch of helper relationship methods
Matt S Trout [Sun, 18 Sep 2005 01:53:34 +0000]
Addition of a bunch of helper relationship methods

19 years agoYeah, committing the new tests would help ...
Matt S Trout [Sat, 17 Sep 2005 17:15:40 +0000]
Yeah, committing the new tests would help ...

19 years agoTest split to run against normal rels and helper rels (currently just has_one)
Matt S Trout [Sat, 17 Sep 2005 16:43:31 +0000]
Test split to run against normal rels and helper rels (currently just has_one)

19 years agoAdded quote char test, supported quoting in S::A subclass for joins
Matt S Trout [Sat, 17 Sep 2005 14:50:30 +0000]
Added quote char test, supported quoting in S::A subclass for joins

19 years agoAdded DBIC dep on Module::Find (for Schema)
Matt S Trout [Sun, 11 Sep 2005 23:20:13 +0000]
Added DBIC dep on Module::Find (for Schema)

19 years agoCorrected test plan for t/11mysql.t
Matt S Trout [Sun, 11 Sep 2005 19:21:01 +0000]
Corrected test plan for t/11mysql.t

19 years agoFixes to CDBICompat::HasMany mapping method support, with thanks to bricas
Matt S Trout [Sat, 10 Sep 2005 18:04:48 +0000]
Fixes to CDBICompat::HasMany mapping method support, with thanks to bricas