SQLite/SQLMaker.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SQLite.pm ↑ Summary
1 package DBIO::SQLite::SQLMaker;
2 # ABSTRACT: SQLite-specific SQL generation for DBIO
3  
4 201 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 201 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 201 ▶use base qw( DBIO::SQLMaker );
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 #
11 # SQLite does not understand SELECT ... FOR UPDATE
12 # Disable it here
13 sub _lock_select () { '' };
14  
15 201 1;
16  
17 __END__
18  
19 =pod
20  
21 =encoding UTF-8
22  
23 =head1 NAME
24  
25 DBIO::SQLite::SQLMaker - SQLite-specific SQL generation for DBIO
26  
27 =head1 VERSION
28  
29 version 0.900001
30  
31 =head1 DESCRIPTION
32  
33 SQLite-specific subclass of L<DBIO::SQLMaker>. Disables C<SELECT ... FOR UPDATE>
34 locking syntax, which SQLite does not support. All other SQL generation is
35 inherited from L<DBIO::SQLMaker>.
36  
37 This class is set as the C<sql_maker_class> by L<DBIO::SQLite::Storage> and
38 is not normally instantiated directly.
39  
40 =seealso
41  
42 =over
43  
44 =item * L<DBIO::SQLMaker> - Base SQL generation class
45  
46 =item * L<DBIO::SQLite::Storage> - Storage driver that uses this SQL maker
47  
48 =item * L<DBIO::SQLite> - Top-level SQLite schema component
49  
50 =back
51  
52 =head1 AUTHOR
53  
54 DBIO & DBIx::Class Authors
55  
56 =head1 COPYRIGHT AND LICENSE
57  
58 Copyright (C) 2026 DBIO Authors
59 Portions Copyright (C) 2005-2025 DBIx::Class Authors
60 Based on DBIx::Class, heavily modified.
61  
62 This is free software; you can redistribute it and/or modify it under
63 the same terms as the Perl 5 programming language system itself.
64  
65 =cut
« SQLite.pm ↑ Summary